Change postinstall message

This commit is contained in:
Kévin Dunglas
2018-10-12 09:47:05 +02:00
parent cdb5864f65
commit ec98589e53
4 changed files with 4 additions and 18 deletions
@@ -5,10 +5,7 @@
* <fg=blue>Run</> your application:
1. Change to the project directory
2. Create your code repository with the <comment>git init</comment> command
3. Execute the <comment>php -S 127.0.0.1:8000 -t public public/index.php</> command
4. Browse to the <comment>http://localhost:8000/</> URL.
Quit the server with CTRL-C.
Run <comment>composer require server --dev</> for a better web server.
3. Run <comment>composer require server --dev</> to install the development web server,
or configure another supported web server <comment>https://symfony.com/doc/current/setup/web_server_configuration.html</>
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>
@@ -24,10 +24,6 @@ if ($debug) {
Debug::enable();
}
if ('cli-server' === PHP_SAPI && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
return false;
}
if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) {
Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST);
}
@@ -5,10 +5,7 @@
* <fg=blue>Run</> your application:
1. Change to the project directory
2. Create your code repository with the <comment>git init</comment> command
3. Execute the <comment>php -S 127.0.0.1:8000 -t public public/index.php</> command
4. Browse to the <comment>http://localhost:8000/</> URL.
Quit the server with CTRL-C.
Run <comment>composer require server --dev</> for a better web server.
3. Run <comment>composer require server --dev</> to install the development web server,
or configure another supported web server <comment>https://symfony.com/doc/current/setup/web_server_configuration.html</>
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>
@@ -24,10 +24,6 @@ if ($debug) {
Debug::enable();
}
if ('cli-server' === PHP_SAPI && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
return false;
}
if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) {
Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST);
}