We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02fb82f commit edbd927Copy full SHA for edbd927
1 file changed
system/HTTP/IncomingRequest.php
@@ -721,7 +721,7 @@ protected function parseRequestURI(): string
721
$query = $parts['query'] ?? '';
722
$uri = $parts['path'] ?? '';
723
724
- if (isset($_SERVER['SCRIPT_NAME'][0]) AND pathinfo($_SERVER['SCRIPT_NAME'], PATHINFO_EXTENSION) === 'php')
+ if (isset($_SERVER['SCRIPT_NAME'][0]) && pathinfo($_SERVER['SCRIPT_NAME'], PATHINFO_EXTENSION) === 'php')
725
{
726
// strip the script name from the beginning of the URI
727
if (strpos($uri, $_SERVER['SCRIPT_NAME']) === 0)
0 commit comments