diff --git a/core/classes/View.class.php b/core/classes/View.class.php index a744249..9e55cb7 100644 --- a/core/classes/View.class.php +++ b/core/classes/View.class.php @@ -832,7 +832,7 @@ public final function serve($code = 200, $action = false){ call_user_func($action); }//if else { - $file = \App::path() . trim($this->errorDir,'/') . '/' . $code . '.php'; + $file = \App::path() . '/' . trim($this->errorDir,'/') . '/' . $code . '.php'; if(is_file($file)){ $action = require($file); call_user_func($action,\App::instance());