From 72f5e52cda3de3ebe3d014269c2890331db834e4 Mon Sep 17 00:00:00 2001 From: haneul Date: Sun, 3 Jan 2010 13:08:45 +0000 Subject: [PATCH] #18587973 : follow debug_protect in file debugging git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7099 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- config/func.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/func.inc.php b/config/func.inc.php index ddd0fc146..bb4e28e7f 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -520,6 +520,9 @@ $firephp->fb($debug_output, $label); } else { + if(__DEBUG_PROTECT__ === 1 && __DEBUG_PROTECT_IP__ != $_SERVER['REMOTE_ADDR']) { + return; + } $debug_file = _XE_PATH_.'files/_debug_message.php'; if(function_exists("memory_get_usage")) {