|
@@ -63,6 +63,8 @@ class My extends Core
|
|
$this->data['config'] = Dever::db('setting/base')->one();
|
|
$this->data['config'] = Dever::db('setting/base')->one();
|
|
if ($this->data['config']['active'] == 2) {
|
|
if ($this->data['config']['active'] == 2) {
|
|
$this->data['config']['active'] = 0;
|
|
$this->data['config']['active'] = 0;
|
|
|
|
+ } else {
|
|
|
|
+ $this->data['config']['active'] = 1;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|