diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-26 14:52:55 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-26 14:52:55 +0200 |
commit | 3f64eb25ab89964127681a52265207dbeb7e1e9b (patch) | |
tree | 183f713b4d443f77b5d5bd05350ce069eecb79f0 /index.php | |
parent | b75f680b8e560be82f5c63bfc5480452a3de12d9 (diff) | |
download | nextcloud-server-3f64eb25ab89964127681a52265207dbeb7e1e9b.tar.gz nextcloud-server-3f64eb25ab89964127681a52265207dbeb7e1e9b.zip |
some fixes fore movable apps
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
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{ |