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
|
@ -54,7 +54,7 @@ chdir($directory);
|
|||
|
||||
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('auth_ejabberd', $config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue