[Phpmyadmin-devel] Re: DB-based configuration

Rabus rabus at bugfixes.info
Mon Apr 22 07:15:08 CEST 2002


----- Original Message ----- 
From: "Robin Johnson" <robbat2 at fermi.orbis-terrarum.net>
> Presently in config.inc.php3 we have some code like this:
> $cfgServers[$i]['relation']      = '';
> $cfgServerDefault = 1;
> etc.
> 
> 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?

Sounds like a copy&paste work.
Sounds like a job for me :o)

Alexander






More information about the Developers mailing list