11.2.04 Check Version
This commit is contained in:
parent
2a90e078df
commit
86116c6563
@ -281,7 +281,7 @@ class helper {
|
|||||||
|
|
||||||
if($version = helper::getOnlineVersion()) {
|
if($version = helper::getOnlineVersion()) {
|
||||||
//return (trim($version) !== common::ZWII_VERSION);
|
//return (trim($version) !== common::ZWII_VERSION);
|
||||||
return ((version_compare(common::ZWII_VERSION,$version)) === -1);
|
return ((version_compare(common::ZWII_VERSION,$version,'<')) === -1);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return false;
|
return false;
|
||||||
|
@ -45,7 +45,7 @@ class common {
|
|||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
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";
|
const ZWII_UPDATE_CHANNEL = "v11";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user