11.2.04 Check Version

This commit is contained in:
fredtempez 2022-01-21 08:45:52 +01:00
parent 2a90e078df
commit 86116c6563
2 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ class helper {
if($version = helper::getOnlineVersion()) {
//return (trim($version) !== common::ZWII_VERSION);
return ((version_compare(common::ZWII_VERSION,$version)) === -1);
return ((version_compare(common::ZWII_VERSION,$version,'<')) === -1);
}
else {
return false;

View File

@ -45,7 +45,7 @@ class common {
// Numéro de version
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
const ZWII_VERSION = '11.2.03';
const ZWII_VERSION = '11.2.04';
const ZWII_UPDATE_CHANNEL = "v11";
public static $actions = [];