diff --git a/qrcode/install/config/database.php b/qrcode/install/config/database.php deleted file mode 100644 index 2c48784..0000000 --- a/qrcode/install/config/database.php +++ /dev/null @@ -1,36 +0,0 @@ -validate_post($_POST) == true) { - // First create the database, then create tables, then write config file - if ($database->create_database($_POST) == false) { - $message = $core->show_message('error', "The database could not be created, please check your database credentials!"); - } else if ($database->create_tables($_POST) == false) { - $message = $core->show_message('error', "The database tables could not be created, please check your database credentials!"); - } else if ($core->write_config($_POST) == false) { - $message = $core->show_message('error', "The database configuration file could not be written, please chmod application/config/database.php file to 777"); - } - - // If no errors, redirect to index - if (!isset($message)) { - header("Refresh: 10; finish.php"); - $installing = 1; - } - } else { - $message = $core->show_message('error', 'Not all fields have been filled in correctly. The host, username, password, and database name are required.'); - } -} - -?> - - - - -
- - - -
- Start
-Folder Permissions
-Database
-Finish
-Start
-Folder Permissions
-Database
-Finish
-The installation was successful.
Keep the documentation handy and log in to the control panel by entering the default credentials:
+
+ The installation was successful.
+
+ Keep the documentation handy and log in to the control panel by entering the default credentials:
+
+ superadmin
+ superadmin
+ We recommend that you create a new superadmin user and to delete the default one mentioned above.
-superadmin
-superadmin
-
-We recommend that you create a new superadmin user and to delete the default one mentioned above.
-
-N.B. Remember to delete the "install" folder otherwise you could accidentally start the installation procedure again, deleting all the saves in the database