Skip to content

Commit 1406b34

Browse files
committed
Merge pull request #1820 from WouterJ/patch-6
[#1818] Added --no-debug switch and warning
2 parents 6e69f44 + f399ec6 commit 1406b34

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

book/doctrine.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,12 @@ Some notable or interesting tasks include:
13671367

13681368
.. code-block:: bash
13691369
1370-
$ php app/console doctrine:ensure-production-settings --env=prod
1370+
$ php app/console doctrine:ensure-production-settings --no-debug --env=prod
1371+
1372+
.. caution::
1373+
1374+
Don't forget to add the ``--no-debug`` switch, because the debug flag is
1375+
always set to true, even if the environment is set to ``prod``.
13711376

13721377
* ``doctrine:mapping:import`` - allows Doctrine to introspect an existing
13731378
database and create mapping information. For more information, see

0 commit comments

Comments
 (0)