From 511acd79304689d0486e3ddcdd4400274f8dc912 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Fri, 21 Jun 2019 10:23:49 +0530 Subject: [PATCH] disable strict mode in installer --- public/installer/install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]";