fixing stupid if in lng - tool
This commit is contained in:
@@ -21,9 +21,7 @@ $baseLanguage = 'english.lng.php';
|
|||||||
|
|
||||||
// Check if we're in the CLI
|
// Check if we're in the CLI
|
||||||
|
|
||||||
if(@php_sapi_name() != 'cli'
|
if(@php_sapi_name() != 'cli')
|
||||||
&& @php_sapi_name() != 'cgi'
|
|
||||||
&& @php_sapi_name() != 'cgi-fcgi')
|
|
||||||
{
|
{
|
||||||
die('This script will only work in the shell.');
|
die('This script will only work in the shell.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user