]> git.mxchange.org Git - friendica.git/commitdiff
No parantheses here + no @ (which surpresses warnings and such) #3254
authorRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 20:46:49 +0000 (21:46 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 23 Mar 2017 20:47:51 +0000 (21:47 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
boot.php

index 3070005d4c55ba7e7eaf28cc3e1d7cf84598bca1..e660cb3ede90ad94d2c9944fa6d7c3fbe92a3755 100644 (file)
--- 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') != '') {