Require running from command line
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Dec 2004 10:30:50 +0000 (10:30 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Dec 2004 10:30:50 +0000 (10:30 +0000)
includes/normal/UtfNormalGenerate.php

index 65128b7..efe25de 100644 (file)
  */
 
 /** */
+
+if( php_sapi_name() != 'cli' ) {
+       die( "Run me from the command line please.\n" );
+}
+
 require_once 'UtfNormalUtil.php';
 
 $in = fopen("DerivedNormalizationProps.txt", "rt" );