Skip to content
Snippets Groups Projects
Commit b35c6b57 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

allow loading of css files even if a user isn't logged in

parent 6146b6a1
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment