From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- includes/normal/RandomTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/normal/RandomTest.php') 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" ); } -- cgit v1.2.2 From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- includes/normal/RandomTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/normal/RandomTest.php') diff --git a/includes/normal/RandomTest.php b/includes/normal/RandomTest.php index 9dc1c861..06029868 100644 --- a/includes/normal/RandomTest.php +++ b/includes/normal/RandomTest.php @@ -31,10 +31,10 @@ if( PHP_SAPI != 'cli' ) { } /** */ -require_once( 'UtfNormal.php' ); -require_once( '../diff/DifferenceEngine.php' ); +require_once 'UtfNormal.php'; +require_once '../diff/DifferenceEngine.php'; -dl('php_utfnormal.so' ); +dl( 'php_utfnormal.so' ); # mt_srand( 99999 ); -- cgit v1.2.2