From 6871a614b9943167d74a9f732a85103edef2026f Mon Sep 17 00:00:00 2001 From: Wouter J Date: Mon, 17 Mar 2014 16:16:17 +0100 Subject: [PATCH] [#10461] Add docs about custom environment --- .../Bundle/FrameworkBundle/Command/ServerRunCommand.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php index d2255e50be..f47283a70a 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php @@ -66,6 +66,9 @@ If you have custom docroot directory layout, you can specify your own router script using --router option: %command.full_name% --router=app/config/router.php + +Specifing a router script is required when the used environment is not "dev" or +"prod". See also: http://www.php.net/manual/en/features.commandline.webserver.php EOF