diff -urN mediawiki-1.4.4.orig/config/index.php mediawiki-1.4.4/config/index.php --- mediawiki-1.4.4.orig/config/index.php Sun Apr 17 16:24:27 2005 +++ mediawiki-1.4.4/config/index.php Wed May 18 13:57:01 2005 @@ -337,7 +337,7 @@ print "
  • Installation directory: " . htmlspecialchars( $conf->IP ) . "
  • \n"; # $conf->ScriptPath = "/~brion/inplace"; -$conf->ScriptPath = preg_replace( '{^(.*)/config.*$}', '$1', $_SERVER["SCRIPT_NAME"] ); +$conf->ScriptPath = preg_replace( '{^(.*)/config.*$}', '$1', $_SERVER["PHP_SELF"] ); print "
  • Script URI path: " . htmlspecialchars( $conf->ScriptPath ) . "
  • \n"; $conf->posted = ($_SERVER["REQUEST_METHOD"] == "POST");