幻想曲 发表于 2012-2-14 10:32:59

Unable to load the requested file,无法加载视图文件

/views/common/header.php
/views/common/footer.php
/views/register/index.php


class Register extends Front_Controller
{

    public function __construct()
    {
      parent::__construct();
    }

    public function index()
    {

      $this->load->view('common/header');
      $this->load->view('register/index');
      $this->load->view('footer');
    }
    public function signup()
    {
      $account = $_POST[''];
    }
}



Unable to load the requested file: common/header.php

直接出错,哪里不对?

幻想曲 发表于 2012-2-14 10:42:16


问题找到了,是Front_Controller这个类的原因。。。
页: [1]
查看完整版本: Unable to load the requested file,无法加载视图文件