mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02: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
|
@ -35,9 +35,9 @@ function testdrive_uninstall() {
|
|||
|
||||
}
|
||||
|
||||
function testdrive_load_config(App $a)
|
||||
function testdrive_load_config(App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->loadConfigFile(__DIR__ . '/config/testdrive.config.php');
|
||||
$a->getConfig()->loadConfigArray($loader->loadAddonConfig('testdrive'));
|
||||
}
|
||||
|
||||
function testdrive_globaldir_update($a,&$b) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue