This reverts commit fca0ab6b49.
This commit is contained in:
Pierre Rudloff 2016-04-10 19:42:52 +02:00
parent f267bac3ba
commit adbf6be0af

View file

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