标签: 环境变量

用“include_path”设置PHP中的“环境变量”
hliang
Posted on
当PHP中的include()、include_once()、require()、require_once()等函数寻找文件的时候,在没有设置include_path的时候,会默认在web项目的目录中查找文件。但是在设置了include_path之后,会优先到include_path所包含的目录中优…
Read More