Permalink
Browse files

enabled the HTTP method override by default to be more BC (closes sen…

  • Loading branch information...
fabpot committed Mar 1, 2013
1 parent 113df25 commit 1970b831f8843a5cf551e9d88404cb62f21b90f9
Showing with 2 additions and 0 deletions.
  1. +1 −0 web/app.php
  2. +1 −0 web/app_dev.php
@@ -19,6 +19,7 @@
$kernel = new AppKernel('prod', false);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
@@ -21,6 +21,7 @@
$kernel = new AppKernel('dev', true);
$kernel->loadClassCache();
Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();

0 comments on commit 1970b83

Please sign in to comment.