- 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()
|
function debugging()
|
||||||
{
|
{
|
||||||
return true;
|
return ((loggedin() && $_SESSION['current']->getpref("debug") == "yes") || APPDB_DEBUG == 1);
|
||||||
if(!loggedin())
|
|
||||||
return false;
|
|
||||||
return $_SESSION['current']->getpref("debug") == "yes";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user