Commit 7038247d authored by Igor Wiedler's avatar Igor Wiedler

change Framework::run() to use the new Request::createFromGlobals()

parent 033a3e6a
......@@ -239,7 +239,7 @@ class Framework extends HttpKernel
public function run(Request $request = null)
{
if (null === $request) {
$request = new Request();
$request = Request::createFromGlobals();
}
$this->handle($request)->send();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment