Home > Backend Development > PHP Tutorial > ci框架的apppath指向哪里解决思路

ci框架的apppath指向哪里解决思路

WBOY
Release: 2016-06-13 11:46:08
Original
1034 people have browsed it

ci框架的apppath指向哪里




求问大神如何修改
------解决方案--------------------
apppath是ci运行时自动定义,就是你的项目的应用根目录,也就是application这个目录

感觉是启用apc的以后才出的问题,如果没有必要apc的话,就关掉吧

如果想用的话,就在include_path中添加你的项目的root目录,也就是application的父目录。

set_include_path(get_include_path() . PATH_SEPARATOR . 'root目录');
Copy after login

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template