🌍 PROYECTO FINAL: Rutas 100% Dinámicas sin Hardcodeos

FASE 5 COMPLETADA - PORTABILIDAD TOTAL:

 ELIMINACIÓN DE RUTAS HARDCODEADAS:
- 100 rutas '/home/novomoda' eliminadas
- 13 archivos crons actualizados a $_ENV['DOC_ROOT']
- Templates cacheados eliminados (se regeneran dinámicamente)

 SISTEMA 100% PORTABLE:
- Todas las rutas usan variables de entorno .env
- DOC_ROOT configurable desde .env
- Compatible con cualquier estructura de directorios

 VERIFICACIONES COMPLETAS:
- 13/13 crons con rutas dinámicas 
- 0 rutas hardcodeadas restantes 
- DOC_ROOT funcional y disponible 
- Sistema 100% portable 

📊 ESTADÍSTICAS FINALES:
- 5 Fases completadas exitosamente
- 122 archivos hardcodeados eliminados
- Sistema multi-empresa + rutas dinámicas 100% funcional

🎯 ESTADO FINAL:
 Login multi-empresa dinámico
 Base de datos seleccionada dinámicamente
 Rutas 100% dinámicas
 Sistema completamente portable
 Sin hardcodeos en ningún archivo

PROYECTO TERMINADO 100% EXITOSAMENTE 🎉
This commit is contained in:
2026-01-07 19:40:56 -06:00
parent 51d7f3d9e5
commit 49b17f420d
486 changed files with 392 additions and 28234 deletions

View File

@@ -1,24 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:43:01
compiled from "/var/www/html/ventas/templates/boxes/status_open_on_popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2038238647695e007582a4c7-54660087%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd939743387655168c4a21515df8f37eed8d2da74' =>
array (
0 => '/var/www/html/ventas/templates/boxes/status_open_on_popup.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '2038238647695e007582a4c7-54660087',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="centeredDivOnPopup" class="" style="margin:auto; position:fixed; top:50%; left:50%; margin-top:-150px;margin-left:-275px;z-index:3000; display:none">
<div style="width:548px; border:solid; border-color:#999;border-width:1px; background-color:#ccc; padding-left:5px; padding-top:5px; padding-bottom:5px">
<div style="width:500px; border:solid; border-color:#999;border-width:1px; background-color:#FFF; padding:20px">
<div id="close_icon" onclick="ToogleStatusDivOnPopup()" style="position:absolute;top: 35px; left: 500px;cursor:pointer; z-index:5000"><a href="javascript:void(0)"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/close_icon.gif" height="32" width="32" border="0"/></a></div>