mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 21:10:21 +00:00
Add use Friendica\App to addons
This commit is contained in:
parent
18a17e33bc
commit
0111149248
2 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Friendica\App;
|
||||
|
||||
if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
|
||||
$directory = dirname($_SERVER["argv"][0]);
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Friendica\App;
|
||||
|
||||
if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
|
||||
$directory = dirname($_SERVER["argv"][0]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue