diff options
Diffstat (limited to 'includes/normal/UtfNormalTest2.php')
-rw-r--r-- | includes/normal/UtfNormalTest2.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/normal/UtfNormalTest2.php b/includes/normal/UtfNormalTest2.php index 691bfaa7..2266696e 100644 --- a/includes/normal/UtfNormalTest2.php +++ b/includes/normal/UtfNormalTest2.php @@ -1,4 +1,4 @@ -#!/usr/bin/php +#!/usr/bin/env php <?php /** * Other tests for the unicode normalization module. @@ -22,7 +22,7 @@ * @ingroup UtfNormal */ -if( php_sapi_name() != 'cli' ) { +if( PHP_SAPI != 'cli' ) { die( "Run me from the command line please.\n" ); } |