Follow up r49996, changing pathrev to revision on non-trunk preventing the 404 error.
[lhc/web/wiklou.git] / includes / specials / SpecialBlockme.php
index 81d3684..f222e3c 100644 (file)
@@ -8,11 +8,11 @@
  *
  */
 function wfSpecialBlockme() {
-       global $wgRequest, $wgBlockOpenProxies, $wgOut, $wgSecretKey;
+       global $wgRequest, $wgBlockOpenProxies, $wgOut, $wgProxyKey;
 
        $ip = wfGetIP();
 
-       if( !$wgBlockOpenProxies || $wgRequest->getText( 'ip' ) != md5( $ip . $wgSecretKey ) ) {
+       if( !$wgBlockOpenProxies || $wgRequest->getText( 'ip' ) != md5( $ip . $wgProxyKey ) ) {
                $wgOut->addWikiMsg( 'proxyblocker-disabled' );
                return;
        }