diff --git a/system/Controller.php b/system/Controller.php index 7fefa6d..9f780c3 100644 --- a/system/Controller.php +++ b/system/Controller.php @@ -1,8 +1,8 @@ showDevMessages("Error archivo vista", - "La vista ' $filename ' no fue encontrada"); + $errorHandler->showDevMessages("View not found", + "' $filename ' view not found"); } /** * Is the default layout no exits **/ private function defaultLayoutNotFound():void { $errorHandler = new ErrorHandler(ENVIROMENT); - $errorHandler->showDevMessages("Problema al cargar el default Layout", - "No se ha podido cargar el layout por defecto, probablemente no este con el nombre que se ha configurado o no exista.", + $errorHandler->showDevMessages("Problem loading the default layout", + "The default layout could not be loaded, probably it is not with the name that has been configured or does not exist.", __ROOT__DIR__ . "views/template/" . $this->layout . '.php'); }