diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-10 23:44:29 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-11 09:27:12 +0100 |
commit | 6c1a1234f8c5a064a72cb23cd397edcb9c6f0577 (patch) | |
tree | 531cc7f3dd6b70f6604f719828f7ba98c37dda63 /lib/base.php | |
parent | 81fa9550a0e136421c1dacad3d26fdb19e9c63a3 (diff) | |
download | nextcloud-server-6c1a1234f8c5a064a72cb23cd397edcb9c6f0577.tar.gz nextcloud-server-6c1a1234f8c5a064a72cb23cd397edcb9c6f0577.zip |
Properly handle available databases at runtime and respect setup checks in command line as well
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index ea379e429b3..107ae059bb1 100644 --- a/lib/base.php +++ b/lib/base.php @@ -747,7 +747,8 @@ class OC { // Check if ownCloud is installed or in maintenance (update) mode if (!$systemConfig->getValue('installed', false)) { \OC::$server->getSession()->clear(); - $controller = new OC\Core\Setup\Controller(\OC::$server->getConfig(), \OC::$server->getIniWrapper(), \OC::$server->getL10N('core'), new \OC_Defaults()); + $setupHelper = new OC\Setup(\OC::$server->getConfig(), \OC::$server->getIniWrapper(), \OC::$server->getL10N('lib'), new \OC_Defaults()); + $controller = new OC\Core\Setup\Controller($setupHelper); $controller->run($_POST); exit(); } |