mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
7d4275bc12
commit
338e01bf64
@ -71,10 +71,6 @@ if (DBG_USER)
|
|||||||
ini_set('display_errors', 1);
|
ini_set('display_errors', 1);
|
||||||
ini_set('display_startup_errors', 1);
|
ini_set('display_startup_errors', 1);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
unset($_COOKIE['explain']);
|
|
||||||
}
|
|
||||||
|
|
||||||
define('DELETED', -1);
|
define('DELETED', -1);
|
||||||
|
|
||||||
|
@ -504,7 +504,7 @@ class user_common
|
|||||||
{
|
{
|
||||||
bb_setcookie(COOKIE_DATA, $c_sdata_curr, COOKIE_PERSIST, true);
|
bb_setcookie(COOKIE_DATA, $c_sdata_curr, COOKIE_PERSIST, true);
|
||||||
}
|
}
|
||||||
if (isset($bb_cfg['dbg_users'][$this->data['user_id']]) && !isset($_COOKIE[COOKIE_DBG]))
|
if (isset($bb_cfg['dbg_users'][$this->data['user_id']]) && !DBG_USER)
|
||||||
{
|
{
|
||||||
bb_setcookie(COOKIE_DBG, 1, COOKIE_SESSION);
|
bb_setcookie(COOKIE_DBG, 1, COOKIE_SESSION);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user