mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
debugPrint에 시간 표시
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4483 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bb6b903aff
commit
8f6568e5a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue