diff --git a/public/installer/install.php b/public/installer/install.php index 4378aacef..f28531581 100755 --- a/public/installer/install.php +++ b/public/installer/install.php @@ -1,4 +1,4 @@ -connect_error) { + if (! $conn->connect_error) { // retrieving admin entry $sql = "SELECT id, name FROM admins"; $result = $conn->query($sql); @@ -69,7 +69,7 @@ } } - if (!$installed) { + if (! $installed) { // getting url $actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";