Rutas Amigables
El sistema implementa URLs limpias (sinindex.php?route=) usando .htaccess para Apache y router.php para el servidor PHP built-in.
Antes vs Después
Implementación
.htaccess (Apache / XAMPP)
index.php, excepto archivos y directorios existentes (como imágenes en uploads/).
router.php (PHP Built-in Server)
php -S localhost:8000 router.php
Front Controller (index.php)
Parsea la URL del REQUEST_URI y determina la ruta: