Add bak defaultapp setting
This commit is contained in:
parent
431f8bd08e
commit
894d69184a
|
@ -827,7 +827,9 @@ class OC_Util {
|
||||||
if ($defaultPage) {
|
if ($defaultPage) {
|
||||||
$location = $urlGenerator->getAbsoluteURL($defaultPage);
|
$location = $urlGenerator->getAbsoluteURL($defaultPage);
|
||||||
} else {
|
} else {
|
||||||
$location = $urlGenerator->getAbsoluteURL('/index.php/apps/files');
|
$defaultApp = \OCP\Config::getSystemValue('defaultapp', 'files');
|
||||||
|
$defaultApp = OC_App::cleanAppId(strip_tags($defaultApp));
|
||||||
|
$location = $urlGenerator->getAbsoluteURL('/index.php/apps/' . $defaultApp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OC_Log::write('core', 'redirectToDefaultPage: '.$location, OC_Log::DEBUG);
|
OC_Log::write('core', 'redirectToDefaultPage: '.$location, OC_Log::DEBUG);
|
||||||
|
|
Loading…
Reference in New Issue