0

Hello,

I have installed a site locally (apache 2.2) and I am now adjusting the settings. I have set my include_path like this :

set_include_path(get_include_path() . PATH_SEPARATOR . PATH_LIBRARY);

When I try to include files from directory beneath the include_path, I get a fatal error, and I get the include_path as a string :

(include_path='.;c:\Program Files\Apache Software Foundation\Apache2.2\htdocs\local;\library')

In front of the PATH_SEPARATOR is a ';' and causes the error.
I have checked and double-checked but cannot find this ';'... Can someone help me on this one ?
Thanx

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by Geertc
0

missed the ball completely on this one... ';' IS the path_separator. But I still don't know why include_path doesn't let me get my files.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.