Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
801e13c1
Commit
801e13c1
authored
Dec 22, 2011
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaked previous merge
parent
10884870
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
doc/usage.rst
doc/usage.rst
+4
-2
No files found.
doc/usage.rst
View file @
801e13c1
...
...
@@ -51,8 +51,10 @@ are using apache you can use a ``.htaccess`` file for this.
to trust the `X-Forwarded-For*` headers, you will need to run your application
like this::
$request = Symfony\Component\HttpFoundation\Request::createFromGlobals();
$request::trustProxyData();
use Symfony\Component\HttpFoundation\Request;
Request::trustProxyData();
$request = Request::createFromGlobals();
$app->run($request);
Routing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment