summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-09-10 20:19:42 +0200
committerBart Visscher <bartv@thisnet.nl>2013-09-10 20:19:42 +0200
commit8ae612f6930235aa1768d3a5beeff65a3565d90a (patch)
tree79a308fd5f2eedea3ca8b07f35183a7335dfa289 /lib/base.php
parent2cdde7a56af3841d058974f50081ad8da5bff43d (diff)
downloadnextcloud-server-8ae612f6930235aa1768d3a5beeff65a3565d90a.tar.gz
nextcloud-server-8ae612f6930235aa1768d3a5beeff65a3565d90a.zip
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 ea5adbadc9d..aa91176d218 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -610,7 +610,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();
}