Now it is straightforward to fix bug 89, subst: template parameters.
[lhc/web/wiklou.git] / includes / proxy_check.php
index 3660519..b017f32 100644 (file)
@@ -1,15 +1,23 @@
 <?php
-
-# Command line script to check for an open proxy at a specified location
-
-# Exit if there are not enough parameters, or if it's not command line mode
-
-$output = "";
-if ( ( isset( $_REQUEST ) && array_key_exists( "argv", $_REQUEST ) ) || count( $argv ) < 4 ) {
+/**
+ * Command line script to check for an open proxy at a specified location
+ * @package MediaWiki
+ */
+
+/**
+ *
+ */
+$output = '';
+
+/**
+ * Exit if there are not enough parameters, or if it's not command line mode
+ */
+if ( ( isset( $_REQUEST ) && array_key_exists( 'argv', $_REQUEST ) ) || count( $argv ) < 4 ) {
        $output .= "Incorrect parameters\n";
 } else {
-
-       # Get parameters
+       /**
+        * Get parameters
+        */
        $ip = $argv[1];
        $port = $argv[2];
        $url = $argv[3];