🌍 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:
@@ -1,51 +0,0 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:11:52
|
||||
compiled from "/var/www/html/ventas/templates/menus/submenu2.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1731378321695df9289e79c4-84778495%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'56465d27e1df56835c71d7cdb2dc2df60120e83e' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/menus/submenu2.tpl',
|
||||
1 => 1767753171,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1731378321695df9289e79c4-84778495',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/motivos" <?php if ($_smarty_tpl->getVariable('page')->value=="motivos"){?> class="current"<?php }?>>
|
||||
<span>Motivos Rechazo</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/promociones" <?php if ($_smarty_tpl->getVariable('page')->value=="promociones"){?> class="current"<?php }?>>
|
||||
<span>Promociones</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/bonificacion-devolucion" <?php if ($_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"){?> class="current"<?php }?>>
|
||||
<span>Politicas B/D</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/comisiones" <?php if ($_smarty_tpl->getVariable('page')->value=="comisiones"){?> class="current"<?php }?>>
|
||||
<span>Comisiones</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/productos-duplicados" <?php if ($_smarty_tpl->getVariable('page')->value=="productos-duplicados"){?> class="current"<?php }?>>
|
||||
<span>Productos Duplicados</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
Reference in New Issue
Block a user