From ed028c6b9041bf2dcff6f8d394676e4b2413e30e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 19 Sep 2020 14:29:32 -0400 Subject: [PATCH] Fix computing the sourcepath in kernel.php. --- framework/kernel.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/kernel.php b/framework/kernel.php index fa72d08..cb6fd6b 100644 --- a/framework/kernel.php +++ b/framework/kernel.php @@ -220,9 +220,7 @@ class ISSO // error reporting set_error_handler(array(&$this, '_error_handler')); - // attempt to set the sourcepath - $path = call_user_func('debug_backtrace'); - $this->setSourcePath(str_replace('kernel.php', '', $path[0]['file'])); + $this->setSourcePath(dirname(__FILE__)); // start input sanitize using variable_order GPC if (!defined('ISSO_NO_INPUT_SANITIZE')) -- 2.43.5