diff --git a/config/config.inc.php b/config/config.inc.php index 976f89fe8..0886a768b 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -29,7 +29,7 @@ * 2 : 1 + DB 쿼리 * 3 : 모든 로그 **/ - define('__DEBUG__', 3); + define('__DEBUG__', 1); if(__DEBUG__) define('__StartTime__', getMicroTime()); diff --git a/config/func.inc.php b/config/func.inc.php index 911b8e600..4dcd14c4c 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -143,8 +143,7 @@ if(!$buff) return; if(__DEBUG_OUTPUT__==1) { - $header = sprintf("", print_r($buff,true)); - Context::addHtmlHeader($header); + print sprintf("", print_r($buff,true)); } else { $debug_file = "./files/_debug_message.php"; $buff = sprintf("%s\n",print_r($buff,true));