From: Brion Vibber Date: Fri, 3 Dec 2004 10:30:50 +0000 (+0000) Subject: Require running from command line X-Git-Tag: 1.5.0alpha1~1163 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=11e0f6ecff7d04ea25090d5b5e05455cd2e86e85;p=lhc%2Fweb%2Fwiklou.git Require running from command line --- diff --git a/includes/normal/UtfNormalGenerate.php b/includes/normal/UtfNormalGenerate.php index 65128b706e..efe25de564 100644 --- a/includes/normal/UtfNormalGenerate.php +++ b/includes/normal/UtfNormalGenerate.php @@ -26,6 +26,11 @@ */ /** */ + +if( php_sapi_name() != 'cli' ) { + die( "Run me from the command line please.\n" ); +} + require_once 'UtfNormalUtil.php'; $in = fopen("DerivedNormalizationProps.txt", "rt" );