minor #10431 adding http:// to server:run output to make it clickable (cordoval)

This PR was merged into the 2.3 branch.

Discussion
----------

adding http:// to server:run output to make it clickable

|Q            |A  |
|---          |---|
|Bug Fix?     |yes  |
|New Feature? |n  |
|BC Breaks?   |n  |
|Deprecations?|n  |
|Tests Pass?  |n  |
|Fixed Tickets| #10430  |
|License      |MIT|
|Doc PR       |  no |

Commits
-------

6498518 prefixed http:// to url output on server:run command in order to make it clickable
This commit is contained in:
Fabien Potencier 2014-03-13 05:50:58 +01:00
commit e8dadd5398

View File

@ -90,7 +90,7 @@ EOF
->locateResource(sprintf('@FrameworkBundle/Resources/config/router_%s.php', $env))
;
$output->writeln(sprintf("Server running on <info>%s</info>\n", $input->getArgument('address')));
$output->writeln(sprintf("Server running on <info>http://%s</info>\n", $input->getArgument('address')));
$builder = new ProcessBuilder(array(PHP_BINARY, '-S', $input->getArgument('address'), $router));
$builder->setWorkingDirectory($input->getOption('docroot'));