Avoid undefined class variables

This commit is contained in:
Michael
2017-10-11 14:52:08 +00:00
parent a29b7e7153
commit 225eea2ca6
10 changed files with 25 additions and 9 deletions
+3 -1
View File
@@ -11,7 +11,9 @@ use Friendica\App;
*/
require_once("boot.php");
$a = new App(dirname(__DIR__));
if (empty($a)) {
$a = new App(dirname(__DIR__));
}
@include(".htconfig.php");
$lang = get_browser_language();