- debugging() returns true when debugging is enabled in the config file
This commit is contained in:
@@ -325,10 +325,7 @@ function isSuperMaintainer($appId)
|
||||
|
||||
function debugging()
|
||||
{
|
||||
return true;
|
||||
if(!loggedin())
|
||||
return false;
|
||||
return $_SESSION['current']->getpref("debug") == "yes";
|
||||
return ((loggedin() && $_SESSION['current']->getpref("debug") == "yes") || APPDB_DEBUG == 1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user