summaryrefslogtreecommitdiff
path: root/src/web/helper/error.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/helper/error.php')
-rw-r--r--src/web/helper/error.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/helper/error.php b/src/web/helper/error.php
index 6fcaddd..2b6959e 100644
--- a/src/web/helper/error.php
+++ b/src/web/helper/error.php
@@ -4,6 +4,6 @@ function error_page($code, $msg) {
$root = $GLOBALS['webroot'];
error_reporting(E_ERROR | E_PARSE);
http_response_code($code);
- require($root . '/views/template/error.php');
+ require($root . '/_views/template/error.php');
die();
}