Menu

#19 changes to the way the db params are looked up

open
nobody
None
5
2004-10-01
2004-10-01
iamdecal
No

in config.inc and some where in the set up i guess)
I'd find it really usefull if the location of param.inc
could be done like this.

line:3
require_once (dirname(__FILE__).'/param.inc.'.
$_SERVER['SERVER_NAME'].'.php');

ie it looks for a file called param.inc.name.of.server.com

this makes it much easier to move a site from a test
environment to the live one with out overwritting the
existing db setttings.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB