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-04-19 18:44:49 +0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-19 18:44:49 +0400
commit85019887dfed3762025d3fc936a61f085ab4e440 (patch)
tree2b7c65465b648e368b4561da9bcfe9d18d7e7e47 /index.php
parent3fb91a74112c00457d549c79d6908acdd32651c5 (diff)
add loading of files
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1858865875b..b85c49c76c2 100644
--- a/index.php
+++ b/index.php
@@ -57,7 +57,12 @@ elseif(OC_User::isLoggedIn()) {
exit();
}
else {
- OC::loadapp();
+ if(is_null(OC::$REQUESTEDFILE)){
+ OC::loadapp();
+ }else{
+ OC::loadfile();
+ }
+
}
}