Skip to content

Commit ec98589

Browse files
committed
Change postinstall message
1 parent cdb5864 commit ec98589

File tree

4 files changed

+4
-18
lines changed

4 files changed

+4
-18
lines changed

symfony/framework-bundle/3.3/post-install.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
* <fg=blue>Run</> your application:
66
1. Change to the project directory
77
2. Create your code repository with the <comment>git init</comment> command
8-
3. Execute the <comment>php -S 127.0.0.1:8000 -t public public/index.php</> command
9-
4. Browse to the <comment>http://localhost:8000/</> URL.
10-
11-
Quit the server with CTRL-C.
12-
Run <comment>composer require server --dev</> for a better web server.
8+
3. Run <comment>composer require server --dev</> to install the development web server,
9+
or configure another supported web server <comment>https://symfony.com/doc/current/setup/web_server_configuration.html</>
1310

1411
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>

symfony/framework-bundle/3.3/public/index.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
Debug::enable();
2525
}
2626

27-
if ('cli-server' === PHP_SAPI && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
28-
return false;
29-
}
30-
3127
if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) {
3228
Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST);
3329
}

symfony/framework-bundle/4.2/post-install.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
* <fg=blue>Run</> your application:
66
1. Change to the project directory
77
2. Create your code repository with the <comment>git init</comment> command
8-
3. Execute the <comment>php -S 127.0.0.1:8000 -t public public/index.php</> command
9-
4. Browse to the <comment>http://localhost:8000/</> URL.
10-
11-
Quit the server with CTRL-C.
12-
Run <comment>composer require server --dev</> for a better web server.
8+
3. Run <comment>composer require server --dev</> to install the development web server,
9+
or configure another supported web server <comment>https://symfony.com/doc/current/setup/web_server_configuration.html</>
1310

1411
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>

symfony/framework-bundle/4.2/public/index.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
Debug::enable();
2525
}
2626

27-
if ('cli-server' === PHP_SAPI && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
28-
return false;
29-
}
30-
3127
if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? $_ENV['TRUSTED_PROXIES'] ?? false) {
3228
Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST);
3329
}

0 commit comments

Comments
 (0)