]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
initilize $sh_disabled
[friendica.git] / boot.php
index 5b82c8b8f28d43cf0f2d7bf224375e9f6d2c2d3b..899a6bd119ca4b8cbbb2bd9b13a95c49ea723892 100644 (file)
--- 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;
 }