3) Introducing ConfigFactory

This commit is contained in:
Philipp Holzer 2019-02-03 22:22:03 +01:00
parent 36120615dd
commit b541efc5e6
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
11 changed files with 26 additions and 24 deletions

View file

@ -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->loadConfigFile('testdrive'));
}
function testdrive_globaldir_update($a,&$b) {