Commit 18292b7f authored by Fabien Potencier's avatar Fabien Potencier

simplified example

parent aef522af
...@@ -54,8 +54,7 @@ are using apache you can use a ``.htaccess`` file for this. ...@@ -54,8 +54,7 @@ are using apache you can use a ``.htaccess`` file for this.
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
Request::trustProxyData(); Request::trustProxyData();
$request = Request::createFromGlobals(); $app->run();
$app->run($request);
Routing Routing
------- -------
......
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