mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Update SqlDb.php
This commit is contained in:
parent
e61caeaf84
commit
d7c05d85ec
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class SqlDb
|
|||
global $DBS;
|
||||
|
||||
$this->cfg = array_combine($this->cfg_keys, $cfg_values);
|
||||
$this->dbg_enabled = (Dev::sqlDebugAllowed() || !empty($_COOKIE['explain']));
|
||||
$this->dbg_enabled = Dev::sqlDebugAllowed();
|
||||
$this->do_explain = ($this->dbg_enabled && !empty($_COOKIE['explain']));
|
||||
$this->slow_time = SQL_SLOW_QUERY_TIME;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue