mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18:48 +00:00
Merge pull request #803 from nupplaphil/config_refact
Config Refactoring
This commit is contained in:
commit
37dd8a938b
12 changed files with 28 additions and 26 deletions
|
@ -52,9 +52,9 @@ function impressum_footer($a, &$b) {
|
|||
}
|
||||
}
|
||||
|
||||
function impressum_load_config(\Friendica\App $a)
|
||||
function impressum_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->loadConfigFile(__DIR__ . '/config/impressum.config.php');
|
||||
$a->getConfig()->loadConfigArray($loader->loadAddonConfig('impressum'));
|
||||
}
|
||||
|
||||
function impressum_show($a,&$b) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue