diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-06 17:54:20 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-06 17:56:45 +0100 |
commit | 3582f7bd09f81e1aadb583ab0d36fb0cbc695514 (patch) | |
tree | 1e504c42a39c292efa514c107d32046b4694716d /core | |
parent | 1adcc5fd23004cd7253c87134c30d853e1b3b8b8 (diff) | |
download | nextcloud-server-3582f7bd09f81e1aadb583ab0d36fb0cbc695514.tar.gz nextcloud-server-3582f7bd09f81e1aadb583ab0d36fb0cbc695514.zip |
Execute the post setup check after finishing the setup
Diffstat (limited to 'core')
-rw-r--r-- | core/routes.php | 4 | ||||
-rw-r--r-- | core/setup.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php index 7408858b107..2527816b662 100644 --- a/core/routes.php +++ b/core/routes.php @@ -6,6 +6,10 @@ * See the COPYING-README file. */ +// Post installation check +$this->create('post_setup_check', '/post-setup-check') + ->action('OC_Setup', 'postSetupCheck'); + // Core ajax actions // Search $this->create('search_ajax_search', '/search/ajax/search.php') diff --git a/core/setup.php b/core/setup.php index 66b8cf378bd..f16385466cb 100644 --- a/core/setup.php +++ b/core/setup.php @@ -43,7 +43,7 @@ if(isset($_POST['install']) AND $_POST['install']=='true') { OC_Template::printGuestPage("", "installation", $options); } else { - header("Location: ".OC::$WEBROOT.'/'); + header( 'Location: '.OC_Helper::linkToRoute( 'post_setup_check' )); exit(); } } |