summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-18 08:20:51 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-18 08:20:51 +0200
commit3e0e6e35f4fa638dd42bd5adc3b26e078bf3d081 (patch)
treed1c6b4ba110d4bdcd4036e58ba10ed287024ce9a /lib/util.php
parent69ee0efc0b355c33ec566cffb36c4b0dc429c338 (diff)
downloadnextcloud-server-3e0e6e35f4fa638dd42bd5adc3b26e078bf3d081.tar.gz
nextcloud-server-3e0e6e35f4fa638dd42bd5adc3b26e078bf3d081.zip
open app thru index.php
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 2ea392ec31d..e3c20ddb858 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -292,7 +292,7 @@ class OC_Util {
if(isset($_REQUEST['redirect_url'])) {
header( 'Location: '.$_REQUEST['redirect_url']);
} else {
- header( 'Location: '.OC::$WEBROOT.'/'.OC_Appconfig::getValue('core', 'defaultpage', 'files/index.php'));
+ header( 'Location: '.OC::$WEBROOT.'/'.OC_Appconfig::getValue('core', 'defaultpage', '?app=files'));
}
exit();
}