![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
11/06/2014, 11:54
|
| | Fecha de Ingreso: enero-2008
Mensajes: 581
Antigüedad: 17 años, 1 mes Puntos: 9 | |
Respuesta: Duda aprendiendo MVC SOLUCIONADO
$rutaVista = ROOT.'vistas'.DS.$controlador.DS.$metodo.'.phtml';
file_exists($rutaVista) ? require_once $rutaVista : 'Error' ; |