forked from ZwiiCMS-Team/ZwiiCMS
bug autoupdate
This commit is contained in:
parent
f9810ade1d
commit
9663e67bc3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user