Add use Friendica\App to addons

This commit is contained in:
Hypolite Petovan 2017-04-30 19:40:55 -04:00
parent 18a17e33bc
commit 0111149248
2 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,7 @@
<?php
use Friendica\App;
if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
$directory = dirname($_SERVER["argv"][0]);

View File

@ -1,4 +1,7 @@
<?php
use Friendica\App;
if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
$directory = dirname($_SERVER["argv"][0]);