Fix computing the sourcepath in kernel.php.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 19 Sep 2020 18:29:32 +0000 (14:29 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 19 Sep 2020 18:52:32 +0000 (14:52 -0400)
framework/kernel.php

index fa72d084a71937cc6f72220d211362410e735140..cb6fd6beef6abd670a0ff5f442a969d13663f12c 100644 (file)
@@ -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'))