Changing include path using php script -
I'm looking for PHP to include other folders in my included path. I have seen this question:
But I do not want to copy the system path (I think I could have but then it is not Update if system path is updated). What I want to do is just a line that looks like this:
ini_set ('include_path', ini_get ('include_path'). $ Otherpaths);
Will this work, and is it something bad to read basic?
I think you are looking for:
With it, You can do this:
set_include_path (get_include_path (). PATH_SEPARATOR $ otherpath);
Comments
Post a Comment