diff --git a/config/index.php b/config/index.php index f72d4dc83bc..c07a1016b8a 100644 --- a/config/index.php +++ b/config/index.php @@ -333,7 +333,7 @@ if( $conf->SysopPass != $conf->SysopPass2 ) { $errs["SysopPass2"] = "Passwords don't match!"; } -$conf->License = importPost( "License", "none" ); +$conf->License = importRequest( "License", "none" ); if( $conf->License == "gfdl" ) { $conf->RightsUrl = "http://www.gnu.org/copyleft/fdl.html"; $conf->RightsText = "GNU Free Documentation License 1.2"; @@ -342,10 +342,10 @@ if( $conf->License == "gfdl" ) { } elseif( $conf->License == "none" ) { $conf->RightsUrl = $conf->RightsText = $conf->RightsCode = $conf->RightsIcon = ""; } else { - $conf->RightsUrl = importPost( "RightsUrl", "" ); - $conf->RightsText = importPost( "RightsText", "" ); - $conf->RightsCode = importPost( "RightsCode", "" ); - $conf->RightsIcon = importPost( "RightsIcon", "" ); + $conf->RightsUrl = importRequest( "RightsUrl", "" ); + $conf->RightsText = importRequest( "RightsText", "" ); + $conf->RightsCode = importRequest( "RightsCode", "" ); + $conf->RightsIcon = importRequest( "RightsIcon", "" ); } if( $conf->posted && ( 0 == count( $errs ) ) ) { @@ -644,11 +644,16 @@ if( count( $errs ) ) { $icon = urlencode( "$wgServer$wgUploadPath/wiki.png" ); $ccApp = htmlspecialchars( "http://creativecommons.org/license/?partner=$partner&exit_url=$exit&partner_icon_url=$icon" ); print "choose"; - ?> -