Browse Source

Fix method override.

Taylor Otwell 11 years ago
parent
commit
3d533f03e6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      laravel/core.php

+ 4 - 0
laravel/core.php

@@ -154,8 +154,12 @@ if (magic_quotes())
 
 
 use Symfony\Component\HttpFoundation\LaravelRequest as RequestFoundation;
 use Symfony\Component\HttpFoundation\LaravelRequest as RequestFoundation;
 
 
+RequestFoundation::enableHttpMethodParameterOverride();
+
 Request::$foundation = RequestFoundation::createFromGlobals();
 Request::$foundation = RequestFoundation::createFromGlobals();
 
 
+
+
 /*
 /*
 |--------------------------------------------------------------------------
 |--------------------------------------------------------------------------
 | Determine The Application Environment
 | Determine The Application Environment