summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-02-04 06:04:21 -0800
committerMorris Jobke <morris.jobke@gmail.com>2014-02-04 06:04:21 -0800
commit3c8007180715b75d2b1a6597f31eeda1770b8762 (patch)
treec5459d6f79c7cec4a149d171e4f816aec7f4528d /lib/base.php
parenta27529709b3c666b89fa7e435c400f9937ee2efa (diff)
parent5844d682a74533be8577160860758709bef706ba (diff)
downloadnextcloud-server-3c8007180715b75d2b1a6597f31eeda1770b8762.tar.gz
nextcloud-server-3c8007180715b75d2b1a6597f31eeda1770b8762.zip
Merge pull request #4795 from owncloud/setup
Move core setup code to controller class
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index b54b2973551..f2d9251294d 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -691,7 +691,8 @@ class OC {
// Check if ownCloud is installed or in maintenance (update) mode
if (!OC_Config::getValue('installed', false)) {
- require_once 'core/setup.php';
+ $controller = new OC\Core\Setup\Controller();
+ $controller->run($_POST);
exit();
}