mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
Add Monolog
This commit is contained in:
parent
518f28a7bf
commit
2e602afd3e
18 changed files with 736 additions and 164 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
use Friendica\App;
|
||||
use Friendica\Util\ExAuth;
|
||||
use Friendica\Util\LoggerFactory;
|
||||
|
||||
if (sizeof($_SERVER["argv"]) == 0) {
|
||||
die();
|
||||
|
@ -51,7 +52,9 @@ chdir($directory);
|
|||
|
||||
require dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
$a = new App(dirname(__DIR__));
|
||||
$logger = LoggerFactory::create('auth_ejabberd');
|
||||
|
||||
$a = new App(dirname(__DIR__), $logger);
|
||||
|
||||
if ($a->getMode()->isNormal()) {
|
||||
$oAuth = new ExAuth();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue