diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-09-10 20:19:42 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-09-10 20:19:42 +0200 |
commit | 8ae612f6930235aa1768d3a5beeff65a3565d90a (patch) | |
tree | 79a308fd5f2eedea3ca8b07f35183a7335dfa289 /lib/base.php | |
parent | 2cdde7a56af3841d058974f50081ad8da5bff43d (diff) | |
download | nextcloud-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.php | 3 |
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(); } |