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
15edf844
Commit
15edf844
authored
May 03, 2013
by
Igor Wiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install instructions for v1.0.0
parent
6e47d0be
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
README.md
README.md
+1
-1
bin/skeleton/fat_composer.json
bin/skeleton/fat_composer.json
+1
-1
bin/skeleton/slim_composer.json
bin/skeleton/slim_composer.json
+1
-1
doc/usage.rst
doc/usage.rst
+6
-6
No files found.
README.md
View file @
15edf844
...
...
@@ -30,7 +30,7 @@ run the `php composer.phar install` command to install it:
{
"require": {
"silex/silex": "
1.0.*
"
"silex/silex": "
~1.0
"
}
}
...
...
bin/skeleton/fat_composer.json
View file @
15edf844
{
"require"
:
{
"silex/silex"
:
"
1.0.*
"
,
"silex/silex"
:
"
~1.0
"
,
"symfony/browser-kit"
:
"~2.1"
,
"symfony/console"
:
"~2.1"
,
"symfony/config"
:
"~2.1"
,
...
...
bin/skeleton/slim_composer.json
View file @
15edf844
{
"require"
:
{
"silex/silex"
:
"
1.0.*
"
"silex/silex"
:
"
~1.0
"
}
}
doc/usage.rst
View file @
15edf844
...
...
@@ -25,7 +25,7 @@ If you want more flexibility, use Composer instead. Create a
{
"require": {
"silex/silex": "
1.0.*
"
"silex/silex": "
~1.0
"
}
}
...
...
@@ -81,8 +81,8 @@ Then, you have to configure your web server (read the :doc:`dedicated chapter
.. tip::
If your application is hosted behind a reverse proxy at address $ip, and you
want Silex to trust the ``X-Forwarded-For*`` headers, you will need to run
If your application is hosted behind a reverse proxy at address $ip, and you
want Silex to trust the ``X-Forwarded-For*`` headers, you will need to run
your application like this::
use Symfony\Component\HttpFoundation\Request;
...
...
@@ -234,9 +234,9 @@ methods on your application: ``get``, ``post``, ``put``, ``delete``::
.. tip::
Forms in most web browsers do not directly support the use of other HTTP
methods. To use methods other than GET and POST you can utilize a special
form field with a name of ``_method``. The form's ``method`` attribute must
Forms in most web browsers do not directly support the use of other HTTP
methods. To use methods other than GET and POST you can utilize a special
form field with a name of ``_method``. The form's ``method`` attribute must
be set to POST when using this field::
<form action="/my/target/route/" method="post">
...
...
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