0

好的,伙计们,我有一个奇怪的问题,

我在 eaccelerator 之前一直在使用 set_include_path 并且一切都很好,但现在我无法让它工作,它没有设置我的路径,有时在设置新路径之前使用 get_include_path 附加旧路径时,get_include_path 返回二进制字符串而不是字符串。

有任何想法吗?

干杯,/马辛

4

1 回答 1

1

试试这个:

set_include_path(implode(PATH_SEPARATOR, array(
    realpath('/../your_path1'),
    realpath('/../your_path2'),
    get_include_path(),
)));
于 2010-12-22T11:03:27.670 回答