mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
fix #416 PHP 5.3.6 이상에서만 사용 가능한 상수 제거
This commit is contained in:
parent
9d44a69212
commit
9af3c9efc1
2 changed files with 2 additions and 2 deletions
|
|
@ -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')
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue