From 131e241c3d755b0fb5c5ccb4d7a11253a54b0661 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Mon, 21 Sep 2020 21:28:07 +0200 Subject: Fix CLI server router script m( --- php-cli-server-router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php-cli-server-router.php') 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"); } -- cgit v1.2.3-70-g09d2