Skip to content

Commit

Permalink
need slash for closures in error dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jbhamilton committed Mar 23, 2016
1 parent 5e9888e commit e0cb3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/classes/View.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit e0cb3e8

Please sign in to comment.