From 5a2d9093b7ac179da808fc6ac2ae4f3e01aa642b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 13 Jan 2006 05:38:52 +0000 Subject: [PATCH] Make the auto-path thing work on PHP5 --- kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.php b/kernel.php index 600f301..f7c1b7d 100644 --- a/kernel.php +++ b/kernel.php @@ -262,7 +262,7 @@ class ISSO set_magic_quotes_runtime(0); // attempt to set the sourcepath - $path = debug_backtrace(); + $path = call_user_func('debug_backtrace'); $this->set('sourcepath', str_replace('kernel.php', '', $path[0]['file'])); // start input sanitize using variable_order GPC -- 2.22.5