[Phpmyadmin-devel] DB-based configuration

Robin Johnson robbat2 at fermi.orbis-terrarum.net
Sun Apr 21 22:43:03 CEST 2002

Greetings everybody,

Now that my finals are over, the first set of changes are going to be
underway for the DB-based configuration mechanisms.

The one major change that needs to put into the existing code revolves
around how we deal with the configuration variable names.

Presently in config.inc.php3 we have some code like this:
$cfgServers[$i]['relation']      = '';
$cfgServerDefault = 1;

For writing the configuration mechanism, I would like to move everything
to an array such as
$cfg['Servers'][$i]['relation']      = '';
$cfg['ServerDefault'] = 1;

Instead, and then I can implement the entire configuration mechanism
transparently inside a library function, that is called at startup to
handle anything that needs to be done.

Unfortunetly, there are ~760 instances of '$cfg', so this change is going
to take a while, and ideally we would want to have this change well
settled and in place to implement the configuration mechanism, as it
_WILL_ break things if it is only partially implemented.

Is somebody else willing to help me on this?

Robin Hugh Johnson
E-Mail     : robbat2 at orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639

More information about the Developers mailing list