debugPrint에 시간 표시

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4483 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2008-09-08 03:23:46 +00:00
parent bb6b903aff
commit 8f6568e5a7

View file

@ -316,7 +316,7 @@
$debug_file = _XE_PATH_."files/_debug_message.php";
$bt = debug_backtrace();
if(is_array($bt)) $first = array_shift($bt);
$buff = sprintf("[%s:%d]\n%s\n", array_pop(explode(DIRECTORY_SEPARATOR, $first["file"])), $first["line"], print_r($buff,true));
$buff = sprintf("[%s %s:%d]\n%s\n", date("Y-m-d H:i:s"), array_pop(explode(DIRECTORY_SEPARATOR, $first["file"])), $first["line"], print_r($buff,true));
if($display_line) $buff = "\n====================================\n".$buff."------------------------------------\n";