From e31e82d22c968e41148af978bf75ed2e65e9e5c3 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 31 Mar 2005 22:15:28 +0000 Subject: [PATCH] Changed ISSO::debug() to not only work under debug mode because we want to show that the POST check works, and we can't if we use that method. --- kernel.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel.php b/kernel.php index 417e290..0a342ef 100644 --- a/kernel.php +++ b/kernel.php @@ -350,10 +350,7 @@ class Shared_Object_Framework */ function debug($message) { - if ($this->debug) - { - $this->debuginfo[] = $message; - } + $this->debuginfo[] = $message; } /** @@ -511,6 +508,7 @@ if (defined('ISSO_CHECK_POST_REFERER')) { trigger_error('No external hosts are allowed to POST to this application', ERR_FATAL); } + $_isso->debug('remote post check = ok'); } } -- 2.22.5