[Phpmyadmin-devel] DB-based configuration

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Mon Apr 22 07:03:06 CEST 2002


Robin,

Yes I can help you.  Let's see how many want to help, then we can split the work.

Marc

Robin Johnson a écrit :
> 
> 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;
> 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?
> 
> --
> Robin Hugh Johnson
> E-Mail     : robbat2 at orbis-terrarum.net
> Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
> ICQ#       : 30269588 or 41961639
> 
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

-- 
Marc Delisle




More information about the Developers mailing list