From 862ff4e52ad52bcf352965c1bafcc48e4ceb643d Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 20 May 2024 18:56:50 -0400 Subject: fix simple php errors --- src/web/helper/error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/helper') 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(); } -- cgit v1.2.3-freya