fix #416 PHP 5.3.6 이상에서만 사용 가능한 상수 제거

This commit is contained in:
bnu 2014-02-08 12:31:03 +09:00
parent 9d44a69212
commit 9af3c9efc1
2 changed files with 2 additions and 2 deletions

View file

@ -447,7 +447,7 @@ class DB
$log['act'] = Context::get('act'); $log['act'] = Context::get('act');
$log['time'] = date('Y-m-d H:i:s'); $log['time'] = date('Y-m-d H:i:s');
$bt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); $bt = debug_backtrace();
foreach($bt as $no => $call) foreach($bt as $no => $call)
{ {
if($call['function'] == 'executeQuery' || $call['function'] == 'executeQueryArray') if($call['function'] == 'executeQuery' || $call['function'] == 'executeQueryArray')

View file

@ -758,7 +758,7 @@ function debugPrint($debug_output = NULL, $display_option = TRUE, $file = '_debu
} }
static $firephp; static $firephp;
$bt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); $bt = debug_backtrace();
if(is_array($bt)) if(is_array($bt))
{ {
$bt_debug_print = array_shift($bt); $bt_debug_print = array_shift($bt);