No parantheses here + no @ (which surpresses warnings and such) #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
47602577f3
commit
f85e6d2aac
1 changed files with 4 additions and 3 deletions
7
boot.php
7
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') != '') {
|
||||
|
|
Loading…
Reference in a new issue