Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
itsalb3rt committed Jun 20, 2020
2 parents 94c9949 + 1900696 commit 3e02d74
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions system/Controller.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Todos los controladores creados deben heredar
* de este controlador para el funcionamiento de los mismos ya que
* contiene el asignamiento de los datos y el renderizado de la pantilla y vistas
* All created drivers must inherit
* of this controller for the operation of the same since
* contains the data mapping and rendering of the caliper and views
**/
use Ligne\ErrorHandler;

Expand Down Expand Up @@ -104,16 +104,16 @@ function redirect($redirecTo,$param = null) :void {
*/
private function viewNonexists(string $filename):void{
$errorHandler = new ErrorHandler(ENVIROMENT);
$errorHandler->showDevMessages("Error archivo vista",
"La vista <span class='special_name_element'>' $filename '</span> no fue encontrada");
$errorHandler->showDevMessages("View not found",
"<span class='special_name_element'>' $filename '</span> 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');
}

Expand Down

0 comments on commit 3e02d74

Please sign in to comment.