ini

mac2022-06-30  32

在win下,当你要include多个路径的话,你要用“;”隔开,但在linux下就使用":"隔开的。。

if (substr(php_uname(), 0, 7) == "Windows") ini_set ( "include_path" , '.;..\..\common;..\..\include' ) ; else ini_set ( "include_path" , ".:../../common:../../include" ) ;

转载于:https://www.cnblogs.com/direction/p/4236341.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)