🌍 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,49 +0,0 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 01:06:14
|
||||
compiled from "/var/www/html/ventas/templates/items/usuarios-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:135077025695e05e631b725-55026445%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'e85f9d694d4f200f132b4040dda6b61222954514' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/items/usuarios-base.tpl',
|
||||
1 => 1767769550,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '135077025695e05e631b725-55026445',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_default')) include '/var/www/html/ventas/libs/plugins/modifier.default.php';
|
||||
?> <tr>
|
||||
<td><?php echo $_smarty_tpl->getVariable('usuario')->value['nombre'];?>
|
||||
<?php echo $_smarty_tpl->getVariable('usuario')->value['apellidos'];?>
|
||||
</td>
|
||||
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['email'];?>
|
||||
</div></td>
|
||||
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['type'];?>
|
||||
</div></td>
|
||||
<td><div align="center"><?php echo smarty_modifier_default($_smarty_tpl->getVariable('usuario')->value['sucursal'],'');?>
|
||||
</div></td>
|
||||
<td>
|
||||
<div align="center">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios-detalles/id/<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/details.png" title="Ver Detalles" border="0"/>
|
||||
</a>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios-editar/id/<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/edit.gif" title="Editar" border="0"/>
|
||||
</a>
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
" title="Eliminar"/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
Reference in New Issue
Block a user