Enable debugging temporarily

This commit is contained in:
Jonathan Ernst
2004-12-18 06:57:25 +00:00
committed by WineHQ
parent a8ba02e76d
commit 9932fee842

View File

@@ -325,6 +325,7 @@ function isSuperMaintainer($appId)
function debugging() function debugging()
{ {
return true;
if(!loggedin()) if(!loggedin())
return false; return false;
return $_SESSION['current']->getpref("debug") == "yes"; return $_SESSION['current']->getpref("debug") == "yes";