Log youtube-dl and ffmpeg commands (fixes #297)
This commit is contained in:
parent
7e575e1bb2
commit
96a75cbf14
6 changed files with 359 additions and 310 deletions
|
@ -8,6 +8,7 @@ use Alltube\Controller\FrontController;
|
|||
use Alltube\Controller\JsonController;
|
||||
use Alltube\LocaleManager;
|
||||
use Alltube\LocaleMiddleware;
|
||||
use Alltube\LoggerFactory;
|
||||
use Alltube\UglyRouter;
|
||||
use Alltube\ViewFactory;
|
||||
use Slim\App;
|
||||
|
@ -61,6 +62,9 @@ try {
|
|||
die('Could not load Smarty: ' . $e->getMessage());
|
||||
}
|
||||
|
||||
// Logger.
|
||||
$container['logger'] = LoggerFactory::create();
|
||||
|
||||
// Controllers.
|
||||
$frontController = new FrontController($container);
|
||||
$jsonController = new JsonController($container);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue