Minor fixes

This commit is contained in:
Wruczek
2019-06-05 02:31:19 +02:00
parent 2c23889da0
commit efe0e5a6ad
5 changed files with 13 additions and 8 deletions

View File

@ -1,7 +1,7 @@
<?php
require_once __DIR__ . "/../private/php/constants.php";
if(file_exists(__INSTALLER_LOCK_FILE) && filesize(__INSTALLER_LOCK_FILE) > 1) {
if(file_exists(__INSTALLER_LOCK_FILE)) {
die('File "private/INSTALLER_LOCK" exists. Please remove it if you wish to run the installer again.');
}