|
@@ -93,12 +93,14 @@ class AdminSignController extends AdminBaseController |
|
@@ -93,12 +93,14 @@ class AdminSignController extends AdminBaseController |
93
|
|
93
|
|
94
|
public function sLogan(){
|
94
|
public function sLogan(){
|
95
|
$data=Db::name('config')->where('id',1)->find();
|
95
|
$data=Db::name('config')->where('id',1)->find();
|
|
|
96
|
+ $data['slogan']=cmf_replace_content_file_url(htmlspecialchars_decode($data['slogan']));
|
96
|
$this->assign('list',$data);
|
97
|
$this->assign('list',$data);
|
97
|
return $this->fetch();
|
98
|
return $this->fetch();
|
98
|
}
|
99
|
}
|
99
|
|
100
|
|
100
|
public function sLoganPost(){
|
101
|
public function sLoganPost(){
|
101
|
$param=$this->request->param();
|
102
|
$param=$this->request->param();
|
|
|
103
|
+ $param['slogan']=htmlspecialchars(cmf_replace_content_file_url(htmlspecialchars_decode($param['slogan']),true));
|
102
|
Db::name('config')->where('id',1)->update($param);
|
104
|
Db::name('config')->where('id',1)->update($param);
|
103
|
$this->success('编辑成功');
|
105
|
$this->success('编辑成功');
|
104
|
}
|
106
|
}
|