diff --git a/install.php b/install.php
index f02fb27a3..5a572ad85 100644
--- a/install.php
+++ b/install.php
@@ -1631,9 +1631,10 @@ if($this->pdo == true)
}
$this->add_button('submit', LAN_CONTINUE);
}
-
- $this->finish_form();
+
$this->stats();
+ $this->finish_form();
+
$this->template->SetTag("stage_content", "
".$page."
".$e_forms->return_form());
installLog::add('Stage 8 completed');
@@ -1661,8 +1662,8 @@ if($this->pdo == true)
{
global $e_forms;
- $data = array('name'=>$this->previous_steps['prefs']['sitename'], 'theme'=>$this->previous_steps['prefs']['sitetheme'], 'language'=>$this->previous_steps['language'], 'url'=>$_SERVER['HTTP_REFERER'],'version'=> defset('e_VERSION'));
- $base = base64_encode(http_build_query($data, ''));
+ $data = array('name'=>$this->previous_steps['prefs']['sitename'], 'theme'=>$this->previous_steps['prefs']['sitetheme'], 'language'=>$this->previous_steps['language'], 'url'=>$_SERVER['SCRIPT_URI'],'version'=> defset('e_VERSION'), 'php'=>defset('PHP_VERSION'));
+ $base = base64_encode(http_build_query($data, '','&'));
$url = "https://e107.org/e-install/".$base;
$e_forms->add_plain_html("");
@@ -2443,7 +2444,7 @@ function template_data()