No parantheses here + no @ (which surpresses warnings and such) #3254

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder 2017-03-23 21:46:49 +01:00
parent 47602577f3
commit f85e6d2aac
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -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') != '') {