有熟悉fuel cms的吗
我按照手册, 用ci原生的方法创建了一个控制器和一个视图class About extends CI_Controller {
function About()
{
parent::__construct();
}
function contact()
{
// set your variables
$vars = array('page_title' => 'Contact : My Website');
//... form code goes here
// use Fuel_page to render so it will grab all opt-in variables and do any necessary parsing
$this->fuel->pages->render('about/contact', $vars);
}
但结果提示Fatal error: Call to undefined function fuel_nav()
这个fuel_nav 函数明明是fuel自动载入的,,怎么会找不到呢?
页:
[1]