Skip to content

Commit 63ec91c

Browse files
committed
Better fix
1 parent 2047326 commit 63ec91c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Debug::enable();
2525
}
2626

27-
if (PHP_SAPI === 'cli-server' && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__. $_SERVER['SCRIPT_NAME'])) {
27+
if (PHP_SAPI === 'cli-server' && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
2828
return false;
2929
}
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Debug::enable();
2525
}
2626

27-
if (PHP_SAPI === 'cli-server' && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__. $_SERVER['SCRIPT_NAME'])) {
27+
if (PHP_SAPI === 'cli-server' && '/index.php' !== $_SERVER['SCRIPT_NAME'] && is_file(__DIR__.$_SERVER['SCRIPT_NAME'])) {
2828
return false;
2929
}
3030

0 commit comments

Comments
 (0)