mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Improve cache efficiency when loading module part config
This commit is contained in:
parent
6d324633a5
commit
a949b95763
2 changed files with 3 additions and 3 deletions
|
|
@ -369,7 +369,7 @@ class DB
|
|||
$log['time'] = date('Y-m-d H:i:s');
|
||||
$log['backtrace'] = array();
|
||||
|
||||
if (config('debug.enabled') && config('debug.log_queries'))
|
||||
if (config('debug.enabled') && in_array('queries', config('debug.display_content')))
|
||||
{
|
||||
$bt = defined('DEBUG_BACKTRACE_IGNORE_ARGS') ? debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS) : debug_backtrace();
|
||||
foreach($bt as $no => $call)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue