git-svn-id: http://xe-core.googlecode.com/svn/trunk@1195 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-17 04:12:44 +00:00
parent 4c123b4395
commit ee5e479fd3
2 changed files with 2 additions and 3 deletions

View file

@ -29,7 +29,7 @@
* 2 : 1 + DB 쿼리 * 2 : 1 + DB 쿼리
* 3 : 모든 로그 * 3 : 모든 로그
**/ **/
define('__DEBUG__', 3); define('__DEBUG__', 1);
if(__DEBUG__) define('__StartTime__', getMicroTime()); if(__DEBUG__) define('__StartTime__', getMicroTime());

View file

@ -143,8 +143,7 @@
if(!$buff) return; if(!$buff) return;
if(__DEBUG_OUTPUT__==1) { if(__DEBUG_OUTPUT__==1) {
$header = sprintf("<!--\n%s\n-->", print_r($buff,true)); print sprintf("<!--\n%s\n-->", print_r($buff,true));
Context::addHtmlHeader($header);
} else { } else {
$debug_file = "./files/_debug_message.php"; $debug_file = "./files/_debug_message.php";
$buff = sprintf("%s\n",print_r($buff,true)); $buff = sprintf("%s\n",print_r($buff,true));