php doesnt follow the include paths
Posted: Sun Sep 27, 2009 12:10 pm
i defined the include path in the same region of code but in another file than the one who executes the error.
if ($debug)
{
$include = include_once($file_name);
}
else {
$include = @include_once($file_name);
}
it goes to search for the file_name online not in the include path.
i did the settings of :
allow_url_fopen Off Off
allow_url_include Off Off
but it still goes online to search for the file.
any ideas?!
if ($debug)
{
$include = include_once($file_name);
}
else {
$include = @include_once($file_name);
}
it goes to search for the file_name online not in the include path.
i did the settings of :
allow_url_fopen Off Off
allow_url_include Off Off
but it still goes online to search for the file.
any ideas?!