Better fix

This commit is contained in:
Kévin Dunglas
2018-10-12 09:43:07 +02:00
parent 2047326d42
commit 63ec91caed
2 changed files with 2 additions and 2 deletions
@@ -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 (PHP_SAPI === 'cli-server' && '/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 (PHP_SAPI === 'cli-server' && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
return false;
}