https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7837b2e
)
Fix computing the sourcepath in kernel.php.
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 19 Sep 2020 18:29:32 +0000
(14:29 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 19 Sep 2020 18:52:32 +0000
(14:52 -0400)
framework/kernel.php
patch
|
blob
|
history
diff --git
a/framework/kernel.php
b/framework/kernel.php
index fa72d084a71937cc6f72220d211362410e735140..cb6fd6beef6abd670a0ff5f442a969d13663f12c 100644
(file)
--- 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'))