mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
Refactoring ConfigCacheLoader methods
This commit is contained in:
parent
104086215c
commit
6a9d73f7d9
9 changed files with 56 additions and 57 deletions
|
@ -33,7 +33,7 @@ if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) {
|
|||
|
||||
require dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
$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('daemon', $config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue