Skip to content

Commit 551b855

Browse files
committed
fix: cgi-fcgi status code
1 parent 70d0a0e commit 551b855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/core/Common.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ function set_status_header($code = 200, $text = '')
564564
}
565565
}
566566

567-
if (strpos(PHP_SAPI, 'cgi') === 0)
567+
if (PHP_SAPI === "cgi")
568568
{
569569
header('Status: '.$code.' '.$text, TRUE);
570570
return;

0 commit comments

Comments
 (0)