2010 年 9 月 27 日
PHP ファイル内でinclude_pathを設定
include_pathをファイルで設定するのはよくあるので
メモっておきます、今更。
$add_include_path="/home/username/PEAR/"; set_include_path(get_include_path() . PATH_SEPARATOR . $add_include_path);
include_pathをファイルで設定するのはよくあるので
メモっておきます、今更。
$add_include_path="/home/username/PEAR/"; set_include_path(get_include_path() . PATH_SEPARATOR . $add_include_path);