Skip to content

Commit

Permalink
[HttpFoundation] Add REQUEST_TIME by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Jun 25, 2011
1 parent 4824926 commit e80ce57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Symfony/Component/HttpFoundation/Request.php
Expand Up @@ -166,6 +166,7 @@ static public function create($uri, $method = 'GET', $parameters = array(), $coo
'SCRIPT_NAME' => '',
'SCRIPT_FILENAME' => '',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_TIME' => time(),
);

$components = parse_url($uri);
Expand Down

0 comments on commit e80ce57

Please sign in to comment.