【发布时间】:2010-10-20 12:04:36
【问题描述】:
我想将my_path 添加到include_path 和include 相对于my_path 的文件中。
在我网站的主 PHP 文件中使用 set_include_path 设置 include_path 是否足够,或者我必须在每个 PHP 文件中这样做?
【问题讨论】:
-
为什么不将其作为对您之前问题的答案的评论?
标签: php include include-path set-include-path