From eef6a3cad053c3ab786706dfbb205e2dcd34b9c0 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 29 Apr 2006 21:11:13 +0000 Subject: [PATCH] Add some debug logs --- kernel.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel.php b/kernel.php index ccd4510..ebdf227 100644 --- a/kernel.php +++ b/kernel.php @@ -265,6 +265,10 @@ class ISSO $this->magicquotes = get_magic_quotes_gpc(); set_magic_quotes_runtime(0); + // some debug info that's always useful + $this->debug('magic_quotes_gpc = ' . $this->magicquotes); + $this->debug('register_globals = ' . ini_get('register_globals')); + // attempt to set the sourcepath $path = call_user_func('debug_backtrace'); $this->set('sourcepath', str_replace('kernel.php', '', $path[0]['file'])); -- 2.43.5