X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=899a6bd119ca4b8cbbb2bd9b13a95c49ea723892;hb=10ba6df17f36a234deef220da48a7d35c3cbaeda;hp=5b82c8b8f28d43cf0f2d7bf224375e9f6d2c2d3b;hpb=c22920edba4f80fee2d828a9fe265a9cb702e81c;p=friendica.git diff --git a/boot.php b/boot.php index 5b82c8b8f2..899a6bd119 100644 --- a/boot.php +++ b/boot.php @@ -510,6 +510,11 @@ function startup() { */ function get_app() { global $a; + + if (empty($a)) { + $a = new App(dirname(__DIR__)); + } + return $a; }