mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
CS
This commit is contained in:
@@ -24,7 +24,7 @@ if ($debug) {
|
||||
Debug::enable();
|
||||
}
|
||||
|
||||
if (PHP_SAPI === 'cli-server' && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
|
||||
if ('cli-server' === PHP_SAPI && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ if ($debug) {
|
||||
Debug::enable();
|
||||
}
|
||||
|
||||
if (PHP_SAPI === 'cli-server' && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
|
||||
if ('cli-server' === PHP_SAPI && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user