mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
Refactor PConfiguration
This commit is contained in:
parent
ff99a62584
commit
9d98a4ce3a
16 changed files with 1084 additions and 690 deletions
|
@ -19,7 +19,8 @@ class DBStructureTest extends DatabaseTest
|
|||
{
|
||||
$configModel = new Config(self::$dba);
|
||||
$config = Factory\ConfigFactory::createConfig(self::$configCache, $configModel);
|
||||
Factory\ConfigFactory::createPConfig(self::$configCache, new PConfigCache());
|
||||
$pconfigModel = new \Friendica\Model\Config\PConfig(self::$dba);
|
||||
Factory\ConfigFactory::createPConfig(self::$configCache, new PConfigCache(), $pconfigModel);
|
||||
$logger = Factory\LoggerFactory::create('test', self::$dba, $config, self::$profiler);
|
||||
$baseUrl = new BaseURL($config, $_SERVER);
|
||||
$router = new App\Router();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue