aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install/ElggInstaller.php1
-rw-r--r--views/installation/install/forms/admin.php5
-rw-r--r--views/installation/install/forms/database.php4
-rw-r--r--views/installation/install/forms/settings.php4
4 files changed, 4 insertions, 10 deletions
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php
index 66d1038ab..5cc9258ec 100644
--- a/install/ElggInstaller.php
+++ b/install/ElggInstaller.php
@@ -746,6 +746,7 @@ class ElggInstaller {
/**
* Get the best guess at the base URL
+ * @note Cannot use current_page_url() because it depends on $CONFIG->wwwroot
* @todo Should this be a core function?
* @return string
*/
diff --git a/views/installation/install/forms/admin.php b/views/installation/install/forms/admin.php
index cfeab190a..1ecb389a3 100644
--- a/views/installation/install/forms/admin.php
+++ b/views/installation/install/forms/admin.php
@@ -8,10 +8,7 @@
$vars['type'] = 'admin';
$form_body = elgg_view('install/forms/template', $vars);
-
-// @todo bug in current_page_url() with :8080 sites
-//$url = current_page_url();
-$url = '/install.php?step=admin';
+$url = current_page_url();
$params = array(
'body' => $form_body,
diff --git a/views/installation/install/forms/database.php b/views/installation/install/forms/database.php
index 2d1d41bc9..0e798db09 100644
--- a/views/installation/install/forms/database.php
+++ b/views/installation/install/forms/database.php
@@ -8,9 +8,7 @@
$vars['type'] = 'database';
$form_body = elgg_view('install/forms/template', $vars);
-// @todo bug in current_page_url() with :8080 sites
-//$url = current_page_url();
-$url = '/install.php?step=database';
+$url = current_page_url();
$params = array(
'body' => $form_body,
diff --git a/views/installation/install/forms/settings.php b/views/installation/install/forms/settings.php
index 7f493ebff..e9a818b92 100644
--- a/views/installation/install/forms/settings.php
+++ b/views/installation/install/forms/settings.php
@@ -8,9 +8,7 @@
$vars['type'] = 'settings';
$form_body = elgg_view('install/forms/template', $vars);
-// @todo bug in current_page_url() with :8080 sites
-//$url = current_page_url();
-$url = '/install.php?step=settings';
+$url = current_page_url();
$params = array(
'body' => $form_body,