Create AddonHelper and proxy to check if addon is enabled

This commit is contained in:
Art4 2025-02-01 21:58:59 +00:00
parent f1dfa63764
commit 91bd6089b5
5 changed files with 61 additions and 1 deletions

View file

@ -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,