X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=util%2Ftypo.php;h=313033f3e5a1885ac740790dda476504ccb1ee12;hb=a61ffa92000234f76d9bcbd9f75340ac2862d81b;hp=d837bcefc981cb7f257504417fa7c98a572b0dfd;hpb=4e49939421d39dfa971d8744691568bcdbdca15e;p=friendica.git diff --git a/util/typo.php b/util/typo.php index d837bcefc9..313033f3e5 100755 --- a/util/typo.php +++ b/util/typo.php @@ -13,7 +13,9 @@ ini_set('log_errors', '0'); include 'boot.php'; -$a = new App(dirname(__DIR__)); +if (empty($a)) { + $a = new App(dirname(__DIR__)); +} if (x($a->config, 'php_path')) { $phpath = $a->config['php_path'];