Browse Source

11.2.04 Check Version

master
fredtempez 4 months ago
parent
commit
86116c6563
  1. 2
      core/class/helper.class.php
  2. 2
      core/core.php

2
core/class/helper.class.php

@ -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;

2
core/core.php

@ -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 = [];

Loading…
Cancel
Save