summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-02-09 05:13:33 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-02-09 05:13:33 -0800
commit279cbeb001c9d8e917838ffb6a1b10394f27cf79 (patch)
tree2a88f2ebb5b693ad74e1ec36255c63180c8a43c4 /core
parentec829bd345045df985f623fa2fe6587d0ce68eb2 (diff)
parentea42014ba4e7ad44a290f968b1a1439f78c1117c (diff)
downloadnextcloud-server-279cbeb001c9d8e917838ffb6a1b10394f27cf79.tar.gz
nextcloud-server-279cbeb001c9d8e917838ffb6a1b10394f27cf79.zip
Merge pull request #1481 from owncloud/fixing-1354-master
basic WebDAV test in place now
Diffstat (limited to 'core')
-rw-r--r--core/routes.php4
-rw-r--r--core/setup.php2
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();
}
}