-->the_Igel
there has to be way to do that bacause i'm using index.php?template=the_dir/the_file.php ... i don't want every time script current root of the file.
-->Weedpacket
as i said, index.php is allways main file when this include is needed.
i tried: ini_set("include_path", "{0, , false}") without result.
does someone know can this be done with $cfg(etc..)