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

Commit 8fe6950

Browse files
committed
feature#592 Added comment about http_method_override and HttpCache (kbond)
This PR was merged into the master branch. Discussion ---------- Added comment about http_method_override and HttpCache related: symfony/symfony#8481 Commits ------- b6ee002 Added comment about http_method_override and HttpCache
2 parents cce1f93 + b6ee002 commit 8fe6950

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)