Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-17 23:56:33 +0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-17 23:56:33 +0400
commitb35c6b57a90022bb66608b6587a907e99d0c4aca (patch)
tree89aba834f4e4ea0269d2d409a0d8668a1ba34550 /index.php
parent6146b6a1314a7bedd09d4f0451b3f77f6faf61f7 (diff)
allow loading of css files even if a user isn't logged in
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index acca97de796..9cec3201e1c 100644
--- a/index.php
+++ b/index.php
@@ -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();