Skip to content

Commit 34963be

Browse files
committed
Removed note, it's important information!
1 parent 0d2d879 commit 34963be

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

book/propel.rst

+10-13
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Configuring the Database
2828
~~~~~~~~~~~~~~~~~~~~~~~~
2929

3030
Before you can start, you'll need to configure your database connection
31-
information. By convention, this information is usually configured in an
31+
information. By convention, this information is usually configured in an
3232
``app/config/parameters.ini`` file:
3333

3434
.. code-block:: ini
@@ -42,20 +42,17 @@ information. By convention, this information is usually configured in an
4242
database_password = password
4343
database_charset = UTF8
4444
45-
.. note::
46-
47-
Defining the configuration via ``parameters.ini`` is just a convention. The
48-
parameters defined in that file are referenced by the main configuration
49-
file when setting up Propel:
45+
These parameters defined in ``parameters.ini`` can now be included in the
46+
configuration file (``config.yml``):
5047

51-
.. code-block:: yaml
48+
.. code-block:: yaml
5249
53-
propel:
54-
dbal:
55-
driver: "%database_driver%"
56-
user: "%database_user%"
57-
password: "%database_password%"
58-
dsn: "%database_driver%:host=%database_host%;dbname=%database_name%;charset=%database_charset%"
50+
propel:
51+
dbal:
52+
driver: "%database_driver%"
53+
user: "%database_user%"
54+
password: "%database_password%"
55+
dsn: "%database_driver%:host=%database_host%;dbname=%database_name%;charset=%database_charset%"
5956
6057
Now that Propel knows about your database, Symfony2 can create the database for
6158
you:

0 commit comments

Comments
 (0)