* Normalize titles in Special:Randomincategory
[lhc/web/wiklou.git] / includes / proxy_check.php
index 0b33e12..a878a25 100644 (file)
@@ -3,6 +3,10 @@
  * Command line script to check for an open proxy at a specified location
  */
 
+if( php_sapi_name() != 'cli' ) {
+       die( 1 );
+}
+
 /**
  *
  */
@@ -47,4 +51,4 @@ $output = escapeshellarg( $output );
 
 #`echo $output >> /home/tstarling/open/proxy.log`;
 
-?>
+