diff --git a/index.php b/index.php
index 7b4b9ad..ea3a77f 100644
--- a/index.php
+++ b/index.php
@@ -17,6 +17,14 @@ if (session_status() == PHP_SESSION_NONE) {
}
require 'settings.php';
require 'modal.php';
+
+
+
+
+
+
+
+
?>
diff --git a/install.php b/install.php
index d732d40..e3724ef 100644
--- a/install.php
+++ b/install.php
@@ -88,8 +88,8 @@ if(isset($_POST['dbConfigBtn']))
$conn = new mysqli($servername, $username, $password,$db);
// Check connection
if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
+ header("location:install.php");
+ }
?>';
fwrite($settingsfile, $txt);
diff --git a/required/footer.php b/required/footer.php
index 72e0de2..a0e6b25 100644
--- a/required/footer.php
+++ b/required/footer.php
@@ -13,14 +13,5 @@
-
\ No newline at end of file
diff --git a/settings.php b/settings.php
index 2da9e66..1580e48 100644
--- a/settings.php
+++ b/settings.php
@@ -9,7 +9,7 @@
$conn = new mysqli($servername, $username, $password,$db);
// Check connection
if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
+ header("location:install.php");
+ }
?>
\ No newline at end of file