diff --git a/setup.php b/setup.php index 0b46651c..0f762c85 100644 --- a/setup.php +++ b/setup.php @@ -6,7 +6,6 @@ if (file_exists("config.php")) { } include "functions.php"; - include "includes/database_version.php"; @@ -855,10 +854,19 @@ if (isset($_POST['add_telemetry'])) {

Step 2 - Connect your Database

- - Database is already configured. Any further changes should be made by editing the config.php file, - or deleting it and refreshing this page. - + Database is already configured. Any further changes should be made by editing the config.php file.

"; + + if (@$mysqli) { + echo "Next Step (User Setup) "; + } else { + echo "
Database connection failed. Check config.php.
"; + } + + } else { + ?>
Database Connection Details