[FIX] user auth status

This commit is contained in:
iAmShorty 2014-03-12 11:08:26 +01:00
parent fd30568af7
commit 25dd2a9901

View File

@ -2,7 +2,7 @@
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
// Check user authentication status
if (!$user->isAuthenticated()) {
if ($user->isAuthenticated()) {
if (!$smarty->isCached('master.tpl', $smarty_cache_key)) {
$iLimit = 30;
$debug->append('No cached version available, fetching from backend', 3);