3 use Symfony\Component\HttpFoundation\Request
;
5 require __DIR__
.'/../vendor/autoload.php';
7 $kernel = new AppKernel('prod', false);
8 //$kernel = new AppCache($kernel);
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);
15 $kernel->terminate($request, $response);