Refactor
This commit is contained in:
parent
e35a9ccc40
commit
250c98bf79
1 changed files with 3 additions and 1 deletions
|
@ -70,8 +70,10 @@ if (!$options) {
|
|||
/**
|
||||
* Update
|
||||
*/
|
||||
define('VERSION', '0.2.0');
|
||||
|
||||
if ($options) {
|
||||
if (-1 === version_compare($options->version, '0.2.0')) {
|
||||
if (-1 === version_compare($options->version, VERSION)) {
|
||||
$options->updateAvailable = true;
|
||||
$page = 'update';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue