...
|
...
|
@@ -116,13 +116,6 @@ class IndexController extends AbstractAction |
|
|
$id = $this->get('id');
|
|
|
$channel = $this->get('yh_channel');
|
|
|
|
|
|
// 获取作者信息
|
|
|
$author = ListData::author($id);
|
|
|
// 作者信息不存在,则跳到错误页面
|
|
|
if (!isset($author['name'])) {
|
|
|
$this->error();
|
|
|
}
|
|
|
|
|
|
// 标识是不是APP客户端
|
|
|
$isApp = is_numeric($channel);
|
|
|
// APP访问时通过频道参数判断性别
|
...
|
...
|
@@ -145,6 +138,13 @@ class IndexController extends AbstractAction |
|
|
$this->setNavHeader('编辑简介', true, SITE_MAIN);
|
|
|
}
|
|
|
|
|
|
// 获取作者信息
|
|
|
$author = ListData::author($id);
|
|
|
// 作者信息不存在,则跳到错误页面
|
|
|
if (!isset($author['name'])) {
|
|
|
$this->error();
|
|
|
}
|
|
|
|
|
|
$this->setTitle('编辑简介');
|
|
|
|
|
|
$uid = $this->getUid();
|
...
|
...
|
@@ -236,7 +236,6 @@ class IndexController extends AbstractAction |
|
|
$this->_view->display('page', $data);
|
|
|
|
|
|
exit();
|
|
|
|
|
|
} while (false);
|
|
|
|
|
|
echo ' ';
|
...
|
...
|
|