I tried something like that. The path I used was relative, maybe that was my mistake. It worked when was in the same folder as the config script, but I think the problem when I put it below the site root was something to do with pages accessing it from different levels, or else something weird with a require inside a required bit. I don’t know that much about PHP. I’ll try it again with an absolute path.
Thanks!