aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-09-21 21:28:07 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-09-21 21:30:57 +0200
commit131e241c3d755b0fb5c5ccb4d7a11253a54b0661 (patch)
tree709b5c158eefc4c268025da198a56a7f687f0b89
parent3f7cbc93fe00a5bd44c1608dd48ed853ed25e0bf (diff)
downloadratatoeskr-cms-131e241c3d755b0fb5c5ccb4d7a11253a54b0661.tar.gz
ratatoeskr-cms-131e241c3d755b0fb5c5ccb4d7a11253a54b0661.tar.bz2
ratatoeskr-cms-131e241c3d755b0fb5c5ccb4d7a11253a54b0661.zip
Fix CLI server router script m(
-rw-r--r--php-cli-server-router.php2
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");
}