forked from ZwiiCMS-Team/ZwiiCMS
Bouton mise à jour si en ligne supérieure
This commit is contained in:
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…
x
Reference in New Issue
Block a user