Posted by Jari Jokinen on 02/15/06 15:12
In comp.lang.php Markus Ernst <derernst@no#sp#amgmx.ch> wrote:
> In the PHP4 -> PHP5 migration chapter of the manual I did not find any
> notes on a change of the require/include behaviour, not checking the
> directory of the calling file anymore; nor did I find it googling.
Maybe your PHP5 configuration file doesn't set same include_path option
than PHP4? You can add current directory (.) to include_path with this:
set_include_path(get_include_path() . PATH_SEPARATOR . '.');
--
Jari Jokinen
jari.jokinen@iki.fi
Navigation:
[Reply to this message]
|