mirror of https://github.com/1099438829/apeblog
修正 key
This commit is contained in:
parent
415cafb3b5
commit
32b52bc545
|
|
@ -6,6 +6,7 @@ use app\common\model\FriendLink as friendLinkModel;
|
||||||
use app\common\validate\MessageForm as MessageformValidate;
|
use app\common\validate\MessageForm as MessageformValidate;
|
||||||
use app\common\model\MessageForm as MessageFormModel;
|
use app\common\model\MessageForm as MessageFormModel;
|
||||||
use app\Request;
|
use app\Request;
|
||||||
|
use app\common\constant\Config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 应用入口
|
* 应用入口
|
||||||
|
|
@ -25,7 +26,7 @@ class Index extends Base
|
||||||
$this->urlrecord('网站首页');
|
$this->urlrecord('网站首页');
|
||||||
}
|
}
|
||||||
//清除可能存在的栏目分类树id
|
//清除可能存在的栏目分类树id
|
||||||
cache('curr_category_patent_id',false);
|
cache(Config::CURR_CATEGORY_PATENT_ID,false);
|
||||||
//模板兼容性标签
|
//模板兼容性标签
|
||||||
$this->assign('id',false);
|
$this->assign('id',false);
|
||||||
$this->assign('cid',false);
|
$this->assign('cid',false);
|
||||||
|
|
@ -69,7 +70,7 @@ class Index extends Base
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//清除可能存在的栏目分类树id
|
//清除可能存在的栏目分类树id
|
||||||
cache('curr_category_patent_id',false);
|
cache(Config::CURR_CATEGORY_PATENT_ID,false);
|
||||||
//模板兼容性标签
|
//模板兼容性标签
|
||||||
$this->assign('id',false);
|
$this->assign('id',false);
|
||||||
$this->assign('cid',false);
|
$this->assign('cid',false);
|
||||||
|
|
@ -109,7 +110,7 @@ class Index extends Base
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//清除可能存在的栏目分类树id
|
//清除可能存在的栏目分类树id
|
||||||
cache('curr_category_patent_id',false);
|
cache(Config::CURR_CATEGORY_PATENT_ID,false);
|
||||||
//模板兼容性标签
|
//模板兼容性标签
|
||||||
$this->assign('id',false);
|
$this->assign('id',false);
|
||||||
$this->assign('cid',false);
|
$this->assign('cid',false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue