allow loading of css files even if a user isn't logged in
This commit is contained in:
parent
6146b6a131
commit
b35c6b57a9
|
@ -47,7 +47,10 @@ if($_SERVER['REQUEST_METHOD']=='PROPFIND'){
|
|||
header('location: '.OC_Helper::linkToRemote('webdav'));
|
||||
exit();
|
||||
}
|
||||
|
||||
elseif(!OC_User::isLoggedIn() && substr(OC::$REQUESTEDFILE,-3) == 'css'){
|
||||
OC_App::loadApps();
|
||||
OC::loadfile();
|
||||
}
|
||||
// Someone is logged in :
|
||||
elseif(OC_User::isLoggedIn()) {
|
||||
OC_App::loadApps();
|
||||
|
|
Loading…
Reference in New Issue