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-26 16:52:55 +0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-26 16:52:55 +0400
commit3f64eb25ab89964127681a52265207dbeb7e1e9b (patch)
tree183f713b4d443f77b5d5bd05350ce069eecb79f0 /index.php
parentb75f680b8e560be82f5c63bfc5480452a3de12d9 (diff)
some fixes fore movable apps
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/index.php b/index.php
index a3835c6d2f3..787485555fb 100644
--- a/index.php
+++ b/index.php
@@ -50,14 +50,12 @@ if($_SERVER['REQUEST_METHOD']=='PROPFIND'){
// Someone is logged in :
elseif(OC_User::isLoggedIn()) {
+ OC_App::loadApps();
if(isset($_GET["logout"]) and ($_GET["logout"])) {
- OC_App::loadApps();
OC_User::logout();
header("Location: ".OC::$WEBROOT.'/');
exit();
- }
- else {
- OC_App::loadApps();
+ }else{
if(is_null(OC::$REQUESTEDFILE)){
OC::loadapp();
}else{