diff --git a/install/scripts/language-check.php b/install/scripts/language-check.php index ddb29f34..cddeccc0 100644 --- a/install/scripts/language-check.php +++ b/install/scripts/language-check.php @@ -21,9 +21,7 @@ $baseLanguage = 'english.lng.php'; // Check if we're in the CLI -if(@php_sapi_name() != 'cli' - && @php_sapi_name() != 'cgi' - && @php_sapi_name() != 'cgi-fcgi') +if(@php_sapi_name() != 'cli') { die('This script will only work in the shell.'); } @@ -183,4 +181,4 @@ function compare($array1, $array2) return $result; } -?> \ No newline at end of file +?>