mirror of
https://github.com/JannikKoester/Tischverwaltung.git
synced 2026-01-09 14:20:08 +01:00
errorhandling hinzugefügt
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user