"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Bundle/WebServerBundle/Command/ServerStartCommand.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

ServerStartCommand.php  (phplist-3.4.5.tgz):ServerStartCommand.php  (phplist-3.4.6.tgz)
skipping to change at line 79 skipping to change at line 79
<info>php %command.full_name% 127.0.0.1:8080</info> <info>php %command.full_name% 127.0.0.1:8080</info>
Use the <info>--docroot</info> option to change the default docroot directory: Use the <info>--docroot</info> option to change the default docroot directory:
<info>php %command.full_name% --docroot=htdocs/</info> <info>php %command.full_name% --docroot=htdocs/</info>
Specify your own router script via the <info>--router</info> option: Specify your own router script via the <info>--router</info> option:
<info>php %command.full_name% --router=app/config/router.php</info> <info>php %command.full_name% --router=app/config/router.php</info>
See also: http://www.php.net/manual/en/features.commandline.webserver.php See also: https://php.net/features.commandline.webserver
EOF EOF
) )
; ;
} }
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output)
{ {
skipping to change at line 158 skipping to change at line 158
$config = new WebServerConfig($documentRoot, $env, $input->getArgume nt('addressport'), $input->getOption('router')); $config = new WebServerConfig($documentRoot, $env, $input->getArgume nt('addressport'), $input->getOption('router'));
if (WebServer::STARTED === $server->start($config, $input->getOption ('pidfile'))) { if (WebServer::STARTED === $server->start($config, $input->getOption ('pidfile'))) {
$io->success(sprintf('Server listening on http://%s', $config->g etAddress())); $io->success(sprintf('Server listening on http://%s', $config->g etAddress()));
} }
} catch (\Exception $e) { } catch (\Exception $e) {
$io->error($e->getMessage()); $io->error($e->getMessage());
return 1; return 1;
} }
return null;
} }
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)