初始化项目
This commit is contained in:
26
application/common/controller/Fornt.php
Normal file
26
application/common/controller/Fornt.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace app\common\controller;
|
||||
|
||||
class Fornt extends Base{
|
||||
|
||||
public function _initialize(){
|
||||
parent::_initialize();
|
||||
//设置SEO
|
||||
$this->setSeo();
|
||||
|
||||
$this->setHoverNav();
|
||||
}
|
||||
|
||||
//当前栏目导航
|
||||
protected function setHoverNav(){
|
||||
//dump($_SERVER['PHP_SELF']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user