#17605348 * FirePHP 사용시 PHP 버전 체크 문제 수정 (if문 오타)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5240 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2009-01-05 08:38:03 +00:00
parent a754591599
commit a19c95e386

View file

@ -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(