From 219f128cb734cc6a98f58c9ccd68040497335aca Mon Sep 17 00:00:00 2001 From: myaac Date: Fri, 12 Jul 2019 22:12:19 +0200 Subject: [PATCH] Use more strict === --- install/steps/5-database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/steps/5-database.php b/install/steps/5-database.php index 34973e9c..0c94e62c 100644 --- a/install/steps/5-database.php +++ b/install/steps/5-database.php @@ -27,14 +27,14 @@ if(!$error) { { if(strpos($key, 'var_') !== false) { - if($key == 'var_server_path') + if($key === 'var_server_path') { $value = str_replace("\\", "/", $value); - if($value[strlen($value) - 1] != '/') + if($value[strlen($value) - 1] !== '/') $value .= '/'; } - if($key == 'var_usage') { + if($key === 'var_usage') { $content .= '$config[\'anonymous_usage_statistics\'] = ' . ((int)$value == 1 ? 'true' : 'false') . ';'; $content .= PHP_EOL; }