Permalink
Browse files

feature#592 Added comment about http_method_override and HttpCache (k…

…bond)

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
  • Loading branch information...
2 parents cce1f93 + b6ee002 commit 8fe69502f62ead53627c08f7b283969da51cea6d @fabpot fabpot committed Sep 27, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 web/app.php
View
3 web/app.php
@@ -20,6 +20,9 @@
$kernel = new AppKernel('prod', false);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
+
+// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
+//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();

0 comments on commit 8fe6950

Please sign in to comment.