![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/02/2013, 13:10
|
![Avatar de catpaw](http://static.forosdelweb.com/customavatars/avatar353879_2.gif) | | | Fecha de Ingreso: mayo-2010 Ubicación: xalapa
Mensajes: 856
Antigüedad: 14 años, 9 meses Puntos: 23 | |
Respuesta: Problemas con define+include+ruta :S Si gracias lo del error ya lo arregle, config.php quedo asi:
$path = str_replace(' \ ', ' / ', basename(__FILE__)).'/plantilla/';
define('PATH', $path);
eran espacios entre las barras, el problema ahora es que no me manda a la direccion correcta, como comento, me mando a la direccion:
http : // localhost:8080/ plantilla/ config.php/ plantilla/ control_usuarios/ control_users.php
y debo llegar a:
http : // localhost:8080/ plantilla/ control_usuarios/ control_users.php
mi directorio es mas o menos asi:
---plantilla
--------index.php
--------menu.php
--------config
-------------------config.php
--------control_usuarios
-------------------control_users.php
se supone que index.php y control_users.php (entre otras) incluiran a menu.php |