@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | { |
45 | 45 | if(!file_exists(CONTROLADOR_DIR.$controlador.'.php') || !class_exists(CONTROLADOR_NAMESPACE.$controlador)) |
46 | 46 | { |
47 | - return $this->controladorPorDefectoExiste(); |
|
47 | + return $this->controladorPorDefectoExiste(); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | return $controlador; |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | { |
55 | 55 | if(!file_exists(CONTROLADOR_DIR.CONTROLADOR_POR_DEFECTO.'.php') || !class_exists(CONTROLADOR_NAMESPACE.CONTROLADOR_POR_DEFECTO)) |
56 | 56 | { |
57 | - throw new Exception("El controlador por defecto no existe"); |
|
57 | + throw new Exception("El controlador por defecto no existe"); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | return CONTROLADOR_POR_DEFECTO; |