...
|
...
|
@@ -93,12 +93,14 @@ class AdminSignController extends AdminBaseController |
|
|
|
|
|
public function sLogan(){
|
|
|
$data=Db::name('config')->where('id',1)->find();
|
|
|
$data['slogan']=cmf_replace_content_file_url(htmlspecialchars_decode($data['slogan']));
|
|
|
$this->assign('list',$data);
|
|
|
return $this->fetch();
|
|
|
}
|
|
|
|
|
|
public function sLoganPost(){
|
|
|
$param=$this->request->param();
|
|
|
$param['slogan']=htmlspecialchars(cmf_replace_content_file_url(htmlspecialchars_decode($param['slogan']),true));
|
|
|
Db::name('config')->where('id',1)->update($param);
|
|
|
$this->success('编辑成功');
|
|
|
}
|
...
|
...
|
|