Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit b6ee002

Browse files
committed
Added comment about http_method_override and HttpCache
1 parent 60d1d0e commit b6ee002

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/app.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
$kernel = new AppKernel('prod', false);
2121
$kernel->loadClassCache();
2222
//$kernel = new AppCache($kernel);
23+
24+
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
25+
//Request::enableHttpMethodParameterOverride();
2326
$request = Request::createFromGlobals();
2427
$response = $kernel->handle($request);
2528
$response->send();

0 commit comments

Comments
 (0)