Add Monolog
This commit is contained in:
committed by
Hypolite Petovan
parent
1d61645a16
commit
fe8f0e0045
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Core\Update;
|
||||
|
||||
@@ -28,7 +29,9 @@ if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) {
|
||||
|
||||
require dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
$a = new App(dirname(__DIR__));
|
||||
$logger = Logger::create('worker');
|
||||
|
||||
$a = new App(dirname(__DIR__), $logger);
|
||||
|
||||
// Check the database structure and possibly fixes it
|
||||
Update::check(true);
|
||||
|
||||
Reference in New Issue
Block a user