提交 38c043fe 编写于 作者: xchenhao's avatar xchenhao

update footer copyright && changyan

上级 854dd4c1
......@@ -14,6 +14,7 @@ if (!YII_ENV_TEST) {
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => 'yii\debug\Module',
//'allowedIPs' => ['39.96.69.155'],
];
// $config['bootstrap'][] = 'gii';
// $config['modules']['gii'] = [
......
......@@ -75,6 +75,8 @@ class ArticleController extends Controller
{
$model = Article::find()->where(['id' => $id])->one();
$category = Category::getAllTree(0, 2);
$this->view->title = $model->title;
return $this->render('view', [
'model' => $model,
'category' => $category,
......
......@@ -70,7 +70,7 @@
<script charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/changyan.js" ></script>
<script type="text/javascript">
window.changyan.api.config({
appid: 'cyt8rNSI2',
appid: 'cyut7Btpp',
conf: 'prod_90e87bc6f74b46bcdf9234cd3ab6fa0f'
});
</script>
......
......@@ -47,12 +47,12 @@ use common\models\Links;
</div>
</div>
<div class="copyright">Copyright &copy; 2017-2020 不可思议的博客</div>
<div class="copyright">Copyright &copy; 2019-2020 不可思议的博客</div>
<div style="width:300px;margin:0 auto; padding: 0;" class="copyright">
<a target="_blank" href="#" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
<a target="_blank" href="http://beian.miit.gov.cn/" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
<img src="/theme/news/img/ghs.png" style="float:left;"/>
<p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#FFFFFF;">京 XXX-XXXX
<p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#FFFFFF;">闽ICP备17026538号-4
</p>
</a>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册