From 3f0ec58844e6d5eb0ce73c4bb99c903e29378be2 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Sat, 18 Oct 2014 18:21:04 +0000 Subject: [PATCH] Fixed issues with using web installer due to variable name change --- html/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/install.php b/html/install.php index a7af669eb..48151d7b4 100644 --- a/html/install.php +++ b/html/install.php @@ -20,7 +20,7 @@ $add_user = $_POST['add_user'] ?: ''; $add_pass = $_POST['add_pass'] ?: ''; $add_email = $_POST['add_email'] ?: ''; -if($stage == "4") +if($stage == "4" || $stage == "3") { // Ok now let's set the db connection up $config['db_host']=$dbhost; @@ -325,7 +325,7 @@ $config['db_host']=$dbhost; $config['db_user']=$dbuser; $config['db_pass']=$dbpass; $config['db_name']=$dbname; -$sqlfile = '../build.sql'; +$sql_file = '../build.sql'; require('../build-base.php'); ?>