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
7
boot.php
7
boot.php
|
@ -611,8 +611,9 @@ class App {
|
||||||
|
|
||||||
$hostname = "";
|
$hostname = "";
|
||||||
|
|
||||||
if (file_exists(".htpreconfig.php"))
|
if (file_exists(".htpreconfig.php")) {
|
||||||
@include(".htpreconfig.php");
|
include ".htpreconfig.php";
|
||||||
|
}
|
||||||
|
|
||||||
$this->timezone = ((x($default_timezone)) ? $default_timezone : 'UTC');
|
$this->timezone = ((x($default_timezone)) ? $default_timezone : 'UTC');
|
||||||
|
|
||||||
|
@ -881,7 +882,7 @@ class App {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists(".htpreconfig.php")) {
|
if (file_exists(".htpreconfig.php")) {
|
||||||
include(".htpreconfig.php");
|
include ".htpreconfig.php";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (get_config('config', 'hostname') != '') {
|
if (get_config('config', 'hostname') != '') {
|
||||||
|
|
Loading…
Reference in a new issue