Page 1 of 1

php doesnt follow the include paths

Posted: Sun Sep 27, 2009 12:10 pm
by HaYZaM
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?!