X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FAuth.class.php;h=354d34ba27f6129d77b1081f73509854040160d2;hb=7993ce63bc6a4249ab508c3bbf4fb7ec5be1b9a3;hp=2c3c657da1ddbd822c2ecee0bd775b27dc2a044c;hpb=c46106d305d91e93fb63c0d601a5a006a02bb63a;p=timetracker.git diff --git a/WEB-INF/lib/Auth.class.php b/WEB-INF/lib/Auth.class.php index 2c3c657d..354d34ba 100644 --- a/WEB-INF/lib/Auth.class.php +++ b/WEB-INF/lib/Auth.class.php @@ -36,7 +36,8 @@ class Auth { // die ("Your browser's cookie functionality is turned off. Please turn it on."); // } - $GLOBALS['SMARTY']->assign('authenticated', true); // Used in header.tpl for menu display. + global $smarty; + $smarty->assign('authenticated', true); // Used in header.tpl for menu display. return true; } session_write_close();