Jump to content

Manual:$wgUpgradeKey

From mediawiki.org
This page is a translated version of the page Manual:$wgUpgradeKey and the translation is 33% complete.
Maintenance scripts setting: $wgUpgradeKey
Password that controls access to web-based updater.
Introducido en la versión:1.17.0 (r75392)
Eliminado en la versión:aún se usa
Valores permitidos:(string)
Valor predeterminado:false

Detalles

When overridden in LocalSettings.php , this setting allows you to run upgrades from the web interface. El valor de esta variable sirve como la contraseña que protege el upgrade guión.

The installer in 1.17+ adds this variable to LocalSettings.php and fills it with a random 16-character password. If it is not set in LocalSettings.php, the upgrader will tell you what to set it to in order to authorize the upgrade process.

For security, do not set this to a guessable string. Instead, use a secure value, e.g., the one supplied by the installation/upgrade process. To cause the upgrader to generate a new key, delete the old key from LocalSettings.php.

Véase también