From f85e6d2aacd9071047b86cd7b45c73c532218057 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 23 Mar 2017 21:46:49 +0100 Subject: [PATCH] No parantheses here + no @ (which surpresses warnings and such) #3254 Signed-off-by: Roland Haeder --- boot.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 3070005d4c..e660cb3ede 100644 --- a/boot.php +++ b/boot.php @@ -611,8 +611,9 @@ class App { $hostname = ""; - if (file_exists(".htpreconfig.php")) - @include(".htpreconfig.php"); + if (file_exists(".htpreconfig.php")) { + include ".htpreconfig.php"; + } $this->timezone = ((x($default_timezone)) ? $default_timezone : 'UTC'); @@ -881,7 +882,7 @@ class App { } if (file_exists(".htpreconfig.php")) { - include(".htpreconfig.php"); + include ".htpreconfig.php"; } if (get_config('config', 'hostname') != '') { -- 2.39.5