Add Monolog

This commit is contained in:
Philipp Holzer
2018-12-30 21:42:56 +01:00
committed by Hypolite Petovan
parent 1d61645a16
commit fe8f0e0045
15 changed files with 363 additions and 121 deletions

View File

@@ -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);