/**
* 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
*/
$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,
$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,
$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,