Bouton mise à jour si en ligne supérieure

branche_v11
Fred Tempez 1 year ago
parent 5ea92be85a
commit 681b3d1c21

@ -610,7 +610,7 @@ class config extends common {
// Variable de version
self::$onlineVersion = helper::urlGetContents(common::ZWII_UPDATE_URL . common::ZWII_UPDATE_CHANNEL . '/version');
if (self::$onlineVersion !== common::ZWII_VERSION) {
if (self::$onlineVersion > common::ZWII_VERSION) {
self::$updateButtonText = "Mettre à jour" ;
}

Loading…
Cancel
Save