set_include_path和get_include_path用法详解
2016-12-08 00:00
531 查看
set_include_path(".".PATH_SEPARATOR.ROOT."/lib".PATH_SEPARATOR.ROOT."/core".PATH_SEPARATOR.ROOT."/configs".PATH_SEPARATOR.get_include_path()); require_once 'mysql.func.php'; require_once 'image.func.php'; require_once 'common.func.php'; require_once 'string.func.php'; require_once 'page.func.php'; require_once "configs.php"; require_once 'admin.inc.php'; require_once 'cate.inc.php'; require_once 'pro.inc.php'; require_once 'album.inc.php'; require_once 'upload.func.php'; require_once 'user.inc.php';
zendframework的示例index.php里有这样一句
set_include_path('.' . PATH_SEPARATOR . '../library/'. PATH_SEPARATOR . './application/models/'. PATH_SEPARATOR . './application/lib/'. PATH_SEPARATOR . get_include_path());
参考地址:http://www.jianshu.com/p/303feaaeded1
相关文章推荐
- set_include_path和get_include_path用法详解
- set_include_path和get_include_path用法详解
- php手记-set_include_path和get_include_path用法详解
- set_include_path和get_include_path用法详解
- set_include_path和get_include_path用法详解
- set_include_path和get_include_path用法详解
- set_include_path和get_include_path用法详解
- PHP--set_include_path和get_include_path用法详解
- 【php】set_include_path和get_include_path用法详解
- set_include_path和get_include_path用法详解
- php的set_include_path与get_include_path()的用法
- set_include_path用法详解
- set_include_path() &&get_include_path()用法
- PHP中__get()和__set()的用法实例详解
- PHP中__get()和__set()的用法实例详解
- 关于get_include_path()和set_include_path()
- PHP中set_include_path()函数相关用法分析
- set_include_path get_include_path
- set_include_path, get_include_path 使用
- php 文件路径设置 set_include_path(); get_include_path();