Formatting Input class.
This commit is contained in:
parent
2a1c01f1c9
commit
57f61dc54c
|
@ -103,10 +103,8 @@ public static function hydrate()
|
|||
|
||||
case 'PUT':
|
||||
case 'DELETE':
|
||||
|
||||
// The request method can be spoofed by specifying a "REQUEST_METHOD" in the $_POST array.
|
||||
// If the method is being spoofed, the $_POST array will be considered the input.
|
||||
|
||||
if (isset($_POST['REQUEST_METHOD']) and in_array($_POST['REQUEST_METHOD'], array('PUT', 'DELETE')))
|
||||
{
|
||||
static::$input =& $_POST;
|
||||
|
|
Loading…
Reference in New Issue