diff options
-rw-r--r-- | php-cli-server-router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-cli-server-router.php b/php-cli-server-router.php index 4d7c5c5..a718ced 100644 --- a/php-cli-server-router.php +++ b/php-cli-server-router.php @@ -2,7 +2,7 @@ // Use this as the router script with php -S -if (!php_sapi_name() == 'cli-server') { +if (php_sapi_name() !== 'cli-server') { die("Only for use in 'cli-server' SAPI"); } |