Home  >  Article  >  Backend Development  >  php的ci框架引入视图问题!

php的ci框架引入视图问题!

WBOY
WBOYOriginal
2016-06-06 20:47:02916browse

public function add(){
    $this->load->view('user/header');
    $this->load->view('user/users/add');
    $this->load->view('user/footer');
}

为什么前边会加上php的ci框架引入视图问题!

事实上是没有的!
php的ci框架引入视图问题!

这是ci框架自生的安全措施吗?
还是哪里要修正一下,肯定有错就是没找到
ci版本是2.1.4

回复内容:

public function add(){
    $this->load->view('user/header');
    $this->load->view('user/users/add');
    $this->load->view('user/footer');
}

为什么前边会加上php的ci框架引入视图问题!

事实上是没有的!
php的ci框架引入视图问题!

这是ci框架自生的安全措施吗?
还是哪里要修正一下,肯定有错就是没找到
ci版本是2.1.4

这个肯定是你的代码里面输出的,想知道在哪里可以在代码的关键位置加上:

var_dump(__FILE__ . __LINE__);
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn