Commit 7e7ee673 by 冷斌

还原

parent 1f67eb0c
...@@ -35,8 +35,6 @@ class IndexAction extends CommonAction ...@@ -35,8 +35,6 @@ class IndexAction extends CommonAction
*/ */
public function index() public function index()
{ {
echo 1; die;
// 取得首页配置 // 取得首页配置
$config = model('Xdata')->get('admin_Config:index_item'); $config = model('Xdata')->get('admin_Config:index_item');
//加载首页头部轮播广告位 //加载首页头部轮播广告位
...@@ -76,6 +74,7 @@ class IndexAction extends CommonAction ...@@ -76,6 +74,7 @@ class IndexAction extends CommonAction
$this->assign('is_school', is_school($this->mid) ? is_school($this->mid) : 0); $this->assign('is_school', is_school($this->mid) ? is_school($this->mid) : 0);
$tpl = $config['tpl'] ?: 'theme_x1'; $tpl = $config['tpl'] ?: 'theme_x1';
echo $tpl;die;
$this->display($tpl); $this->display($tpl);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment