mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Install] Check if database.php exists and if it does exit install process.
This commit is contained in:
@@ -3,6 +3,13 @@
|
||||
|
||||
$db_config_path = '../application/config/';
|
||||
|
||||
$db_file_path = $db_config_path."database.php";
|
||||
|
||||
if (file_exists($db_file_path)) {
|
||||
echo "Cloudlog is already installed, please delete the /install folder.";
|
||||
exit;
|
||||
}
|
||||
|
||||
// Only load the classes in case the user submitted the form
|
||||
if($_POST) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user