Skip to content

Commit

Permalink
fix #416 PHP 5.3.6 이상에서만 사용 가능한 상수 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu authored and khongchi committed Mar 12, 2014
1 parent c558dbc commit 809a526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/db/DB.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ function actFinish()
$log['act'] = Context::get('act');
$log['time'] = date('Y-m-d H:i:s');

$bt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
$bt = debug_backtrace();
foreach($bt as $no => $call)
{
if($call['function'] == 'executeQuery' || $call['function'] == 'executeQueryArray')
Expand Down
2 changes: 1 addition & 1 deletion config/func.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ function debugPrint($debug_output = NULL, $display_option = TRUE, $file = '_debu
}

static $firephp;
$bt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
$bt = debug_backtrace();
if(is_array($bt))
{
$bt_debug_print = array_shift($bt);
Expand Down

0 comments on commit 809a526

Please sign in to comment.