From e78a824e0afd5a13b97ed1361a2d3c31ef3cc540 Mon Sep 17 00:00:00 2001 From: laf Date: Thu, 27 Feb 2014 23:10:24 +0000 Subject: [PATCH] Updated install.php to only use existing DB connection for 2 stages --- html/install.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html/install.php b/html/install.php index 0cb351f3b1..58cc4b1ae4 100644 --- a/html/install.php +++ b/html/install.php @@ -30,7 +30,10 @@ $config['db_name']=$dbname; } include("../includes/defaults.inc.php"); -include_once("../includes/definitions.inc.php"); +if($_POST['stage'] == "3" || $_POST['stage'] == "4") +{ + include_once("../includes/definitions.inc.php"); +} include("../includes/functions.php"); include("includes/functions.inc.php");