[Phpmyadmin-devel] DB-based configuration
Marc Delisle
DelislMa at CollegeSherbrooke.qc.ca
Tue Apr 23 06:20:13 CEST 2002
Robin, Alexander,
how do we split the work?
I could do the tbl_* files, Alexander could do the /libraries, and you could do the rest. OK?
I will also put on phpmyadmin.net that CVS version is 2.3.0 and may be broken, ok?
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