diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-09-21 21:28:07 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-09-21 21:30:57 +0200 |
commit | 131e241c3d755b0fb5c5ccb4d7a11253a54b0661 (patch) | |
tree | 709b5c158eefc4c268025da198a56a7f687f0b89 /php-cli-server-router.php | |
parent | 3f7cbc93fe00a5bd44c1608dd48ed853ed25e0bf (diff) | |
download | ratatoeskr-cms-131e241c3d755b0fb5c5ccb4d7a11253a54b0661.tar.gz ratatoeskr-cms-131e241c3d755b0fb5c5ccb4d7a11253a54b0661.tar.bz2 ratatoeskr-cms-131e241c3d755b0fb5c5ccb4d7a11253a54b0661.zip |
Fix CLI server router script m(
Diffstat (limited to 'php-cli-server-router.php')
-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"); } |