Avoid undefined class variables
This commit is contained in:
+3
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user