]> git.immae.eu Git - github/wallabag/wallabag.git/blame - web/app.php
Bump phpstan/phpstan from 0.11.15 to 0.11.16 (#4121)
[github/wallabag/wallabag.git] / web / app.php
CommitLineData
93fd4692
NL
1<?php
2
93fd4692
NL
3use Symfony\Component\HttpFoundation\Request;
4
6fc95673 5require __DIR__.'/../vendor/autoload.php';
93fd4692 6
93fd4692 7$kernel = new AppKernel('prod', false);
93fd4692
NL
8//$kernel = new AppCache($kernel);
9
10// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
11//Request::enableHttpMethodParameterOverride();
12$request = Request::createFromGlobals();
13$response = $kernel->handle($request);
14$response->send();
15$kernel->terminate($request, $response);