mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 11:54:31 +02:00
Deprecate Addon::DIRECTORY in favor of AddonHelper::getAddonPath()
This commit is contained in:
parent
9f086c40e4
commit
4c71ac643d
4 changed files with 30 additions and 0 deletions
|
@ -44,6 +44,9 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
|
|||
],
|
||||
\Friendica\Core\Addon\AddonHelper::class => [
|
||||
'instanceOf' => \Friendica\Core\Addon\AddonProxy::class,
|
||||
'constructParams' => [
|
||||
$basepath . '/addon',
|
||||
],
|
||||
],
|
||||
\Friendica\Util\BasePath::class => [
|
||||
'constructParams' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue