(bug 13140) Show parent categories in category namespace
[lhc/web/wiklou.git] / includes / proxy_check.php
index b017f32..a878a25 100644 (file)
@@ -1,9 +1,12 @@
 <?php
 /**
  * Command line script to check for an open proxy at a specified location
- * @package MediaWiki
  */
 
+if( php_sapi_name() != 'cli' ) {
+       die( 1 );
+}
+
 /**
  *
  */
@@ -48,4 +51,4 @@ $output = escapeshellarg( $output );
 
 #`echo $output >> /home/tstarling/open/proxy.log`;
 
-?>
+