mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 07:44:27 +02:00
Create AddonHelper and proxy to check if addon is enabled
This commit is contained in:
parent
f1dfa63764
commit
91bd6089b5
5 changed files with 61 additions and 1 deletions
|
@ -42,6 +42,9 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
|
|||
[Dice::INSTANCE => Dice::SELF],
|
||||
],
|
||||
],
|
||||
\Friendica\Core\Addon\AddonHelper::class => [
|
||||
'instanceOf' => \Friendica\Core\Addon\AddonProxy::class,
|
||||
],
|
||||
\Friendica\Util\BasePath::class => [
|
||||
'constructParams' => [
|
||||
$basepath,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue