mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update sessions.php
This commit is contained in:
parent
df102a72c2
commit
7c991465cd
@ -512,7 +512,7 @@ class user_common
|
|||||||
bb_setcookie(COOKIE_DBG, md5(md5(COOKIE_DBG)), COOKIE_SESSION); // Making DBG_USER as true
|
bb_setcookie(COOKIE_DBG, md5(md5(COOKIE_DBG)), COOKIE_SESSION); // Making DBG_USER as true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unset sql debug cookies
|
// Unset sql debug cookies if SQL_DEBUG is disabled or DBG_USER cookie not present
|
||||||
if (!SQL_DEBUG || !DBG_USER)
|
if (!SQL_DEBUG || !DBG_USER)
|
||||||
{
|
{
|
||||||
foreach (array('explain', 'sql_log', 'sql_log_full') as $cookie)
|
foreach (array('explain', 'sql_log', 'sql_log_full') as $cookie)
|
||||||
|
Loading…
Reference in New Issue
Block a user