mirror of
https://github.com/friendica/friendica
synced 2025-05-04 15:04:14 +02:00
Added first version of ConfigCacheSaver
This commit is contained in:
parent
dda26a46f5
commit
383a6715c3
14 changed files with 409 additions and 68 deletions
|
@ -3,9 +3,9 @@
|
|||
namespace Friendica\Factory;
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config\Cache;
|
||||
use Friendica\Factory;
|
||||
use Friendica\Util\BasePath;
|
||||
use Friendica\Util\Config;
|
||||
|
||||
class DependencyFactory
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ class DependencyFactory
|
|||
{
|
||||
$basePath = BasePath::create($directory, $_SERVER);
|
||||
$mode = new App\Mode($basePath);
|
||||
$configLoader = new Cache\ConfigCacheLoader($basePath, $mode);
|
||||
$configLoader = new Config\ConfigCacheLoader($basePath, $mode);
|
||||
$configCache = Factory\ConfigFactory::createCache($configLoader);
|
||||
$profiler = Factory\ProfilerFactory::create($configCache);
|
||||
Factory\DBFactory::init($basePath, $configCache, $profiler, $_SERVER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue