summaryrefslogtreecommitdiff
path: root/includes/normal/RandomTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/normal/RandomTest.php')
-rw-r--r--includes/normal/RandomTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/normal/RandomTest.php b/includes/normal/RandomTest.php
index 23471e94..9dc1c861 100644
--- a/includes/normal/RandomTest.php
+++ b/includes/normal/RandomTest.php
@@ -26,7 +26,7 @@
* @ingroup UtfNormal
*/
-if( php_sapi_name() != 'cli' ) {
+if( PHP_SAPI != 'cli' ) {
die( "Run me from the command line please.\n" );
}