|
我按照手册, 用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自动载入的,,怎么会找不到呢? |
|