]> git.immae.eu Git - github/wallabag/wallabag.git/blob - web/app.php
Merge pull request #4128 from wallabag/add-mathjax
[github/wallabag/wallabag.git] / web / app.php
1 <?php
2
3 use Symfony\Component\HttpFoundation\Request;
4
5 require __DIR__.'/../vendor/autoload.php';
6
7 $kernel = new AppKernel('prod', false);
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);