This commit is contained in:
Pierre Rudloff 2016-04-08 22:58:42 +02:00
parent 07b0ec9a99
commit fca0ab6b49

View file

@ -17,7 +17,13 @@ require_once __DIR__.'/vendor/rudloff/smarty-plugin-noscheme/modifier.noscheme.p
use Alltube\VideoDownload;
use Alltube\Controller\FrontController;
$app = new \Slim\App();
$app = new \Slim\App(
array(
'settings'=>array(
'responseChunkSize'=>1024
)
)
);
$container = $app->getContainer();
$container['view'] = function ($c) {
$view = new \Slim\Views\Smarty(__DIR__.'/templates/');