From 622da94cbad9ec1b9fa2e6293e697d8108ea685c Mon Sep 17 00:00:00 2001 From: bnu Date: Mon, 5 Jan 2009 08:19:17 +0000 Subject: [PATCH 1/3] =?UTF-8?q?#17605348=20*=20FirePHP=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=EC=8B=9C=20PHP=20=EB=B2=84=EC=A0=84=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5238 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/display/DisplayHandler.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/display/DisplayHandler.class.php b/classes/display/DisplayHandler.class.php index d81093ffd..f048d98d6 100644 --- a/classes/display/DisplayHandler.class.php +++ b/classes/display/DisplayHandler.class.php @@ -172,7 +172,7 @@ $end = getMicroTime(); - if(__DEBUG_OUTPUT__ != 2) { + if(__DEBUG_OUTPUT__ != 2 || (__DEBUG_OUTPUT__ == 2 && version_compare(phpversion(), '5.2', '>') == 1)) { // debug string 작성 시작 $buff = "\n\n** Debug at ".date('Y-m-d H:i:s')." ************************************************************\n"; @@ -233,7 +233,7 @@ if(__DEBUG_OUTPUT__==0) debugPrint($buff, false); // Firebug 콘솔 출력 - if(__DEBUG_OUTPUT__ == 2) { + if(__DEBUG_OUTPUT__ == 2 && version_compare(phpversion(), '5.2', '>') == 1) { debugPrint( array('Request / Response info >>> '.Context::getResponseMethod().' / '.$_SERVER['REQUEST_METHOD'], array( From a754591599e8d1b53bea8331ac696d3400ef8252 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 5 Jan 2009 08:32:36 +0000 Subject: [PATCH 2/3] =?UTF-8?q?FirePHP=20PHP4=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5239 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/display/DisplayHandler.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/display/DisplayHandler.class.php b/classes/display/DisplayHandler.class.php index f048d98d6..f0ee8a93a 100644 --- a/classes/display/DisplayHandler.class.php +++ b/classes/display/DisplayHandler.class.php @@ -246,7 +246,7 @@ ) ) ), - FirePHP::TABLE + 'TABLE' ); // 기타 로그 작성 @@ -265,7 +265,7 @@ ) ) ), - FirePHP::TABLE + 'TABLE' ); } @@ -277,7 +277,7 @@ } debugPrint( array('DB Queries >>> '.count($GLOBALS['__db_queries__']).' Queries, '.sprintf('%0.5f sec', $GLOBALS['__db_elapsed_time__']), $queries_output), - FirePHP::TABLE + 'TABLE' ); } From a19c95e386bbe0cf7ac65d52859024f80d902c25 Mon Sep 17 00:00:00 2001 From: bnu Date: Mon, 5 Jan 2009 08:38:03 +0000 Subject: [PATCH 3/3] =?UTF-8?q?#17605348=20*=20FirePHP=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=EC=8B=9C=20PHP=20=EB=B2=84=EC=A0=84=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95=20(if?= =?UTF-8?q?=EB=AC=B8=20=EC=98=A4=ED=83=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5240 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/display/DisplayHandler.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/display/DisplayHandler.class.php b/classes/display/DisplayHandler.class.php index f0ee8a93a..0d12fca41 100644 --- a/classes/display/DisplayHandler.class.php +++ b/classes/display/DisplayHandler.class.php @@ -172,7 +172,7 @@ $end = getMicroTime(); - if(__DEBUG_OUTPUT__ != 2 || (__DEBUG_OUTPUT__ == 2 && version_compare(phpversion(), '5.2', '>') == 1)) { + if(__DEBUG_OUTPUT__ != 2 || (__DEBUG_OUTPUT__ == 2 && !version_compare(PHP_VERSION, '5.2.0', '>'))) { // debug string 작성 시작 $buff = "\n\n** Debug at ".date('Y-m-d H:i:s')." ************************************************************\n"; @@ -233,7 +233,7 @@ if(__DEBUG_OUTPUT__==0) debugPrint($buff, false); // Firebug 콘솔 출력 - if(__DEBUG_OUTPUT__ == 2 && version_compare(phpversion(), '5.2', '>') == 1) { + if(__DEBUG_OUTPUT__ == 2 && version_compare(PHP_VERSION, '5.2.0', '>')) { debugPrint( array('Request / Response info >>> '.Context::getResponseMethod().' / '.$_SERVER['REQUEST_METHOD'], array(