Hi,
I'm developing a very large company structure. One thing is that I'm going to have config files that have critical connection passwords and the like. There will be several linux-based groups working on the site, with a structure kind of like this:
systeam -- critical passwords and documentation, very root of the folder structure for my site
|
|
devteam -- design functions and documentation, still out of HTML root
|
|
htmlteam and javateam -- design pages, HTML, CSS, javascript, etc., all in the public domain. All pages here readable the everyone (the world in Linux).
Ideally I'd like the teams except for systeam not even to know where the config files were located or what they were named.
Is there any way I can declare a system variable available like $CONFIG_ROOT, $FUNCTION_ROOT, etc. which is available as long as PHP is running, and which they don't need to know? Then my production teams could say:
include_once("$FUNCTION_ROOT/config.php");
If this were possible to place in the php.ini file or anywhere else, it would really be great.
Sincerely,
Sam Fullman
Compass POint Media