🌍 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,35 +0,0 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:47:14
compiled from "/var/www/html/ventas/templates/items/datos-generales-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1674832228695e0172398115-91563776%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'067b9a951f0631648e0635480ebe2ada4ecf6402' =>
array (
0 => '/var/www/html/ventas/templates/items/datos-generales-header.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1674832228695e0172398115-91563776',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="clear"></div>
<!--THIS IS A WIDE PORTLET-->
<div class="portlet">
<div class="portlet-content nopadding">
<form action="" method="post">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
<thead>
<tr>
<th width="136" scope="col"><div align="center">RFC</div></th>
<th width="200" scope="col"><div align="center">Raz&oacute;n Social</div></th>
<th width="" scope="col"><div align="center">Direcci&oacute;n</div></th>
<th width="80" scope="col"><div align="center">Sucursales</div></th>
<th width="100" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>