mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Refactoring ConfigCacheLoader methods
This commit is contained in:
parent
104086215c
commit
6a9d73f7d9
9 changed files with 56 additions and 57 deletions
|
@ -7,7 +7,7 @@ use Friendica\Core\Config;
|
|||
use Friendica\Factory;
|
||||
use Friendica\Util\BasePath;
|
||||
|
||||
$basedir = BasePath::create(dirname(__DIR__));
|
||||
$basedir = BasePath::create(dirname(__DIR__), $_SERVER);
|
||||
$configLoader = new Config\ConfigCacheLoader($basedir);
|
||||
$config = Factory\ConfigFactory::createCache($configLoader);
|
||||
$logger = Factory\LoggerFactory::create('console', $config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue