I also think you should look at open_basedir, - if I understand your question correctly.
From the primary site, - or any other Ibay, - you can only access files 'inside' the Ibay.
If you look into /etc/httpd/conf/httpd.conf you can see the open_basedir restrictions in the bottom.
You can access all files 'below' the open_basedir which is why it works when you put your include files in the html folder.
Changing the open_basedir to /home/e-smith/files/ibays would give you access to another Ibay if that could do something for you, - or even / if you need access to /etc
The above is an issue when say trying to access a common statistics module from several ibays, - maybe it apply's aswell to your php include file problem.
Changing the open_basedir could be done like this :
/sbin/e-smith/db accounts setprop Primary PHPBaseDir /
/sbin/e-smith/signal-event ibay-modify Primary
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
Kim Igel
P.s. do a backup before you do anything. I didn't

and now I'm having trouble with exactly this.. I did change the open_basedir for my primary site, - giving access to another Ibay, - but it run's very slow now (the include-part's of my statistics module), - and though I changed the open_basedir back it still runs slowly (accessing file only in my local html folder)... not including the statistics makes it go fast again.... just be carefull..
