[Phpmyadmin-devel] Error reporting settings page

Mohamed Ashraf mohamed.ashraf.213 at gmail.com
Fri Jun 14 22:01:52 CEST 2013


On Friday, June 14, 2013 at 9:10 PM, Rouslan Placella wrote:
> On 06/14/2013 10:44 AM, Mohamed Ashraf wrote:
> > On Fri, Jun 14, 2013 at 10:33 AM, Dieter Adriaenssens
> > <dieter.adriaenssens at gmail.com> wrote:
> > > Yes, that's correct.
> > > The new setting should also be documented in the docfile
> > > doc/config.rst and be added to the setup script (as Rouslan
> > > mentioned).
> > > 
> > 
> > 
> > I read the files in the setup directory however I am not sure how to
> > add my setting to the setup script. there seems to be some way the
> > forms are automatically generated however I do not seem to be able to
> > reverse engineer it.
> > 
> 
> 
> You don't need to reverse engineer anything. In fact, you probably don't
> need to understand how the setup scripts work that much.
> 
> The procedure that I would take would be:
> 
> * Find a configuration variable that exists in the setup, but not in the
> user preferences. Let's take $cfg['RecodingEngine']
> * grep for it (eg: git grep RecodingEngine)
> * Look in all files whose names sound like they have something to do
> with the configuration.
> * See where the RecodingEngine variable appears in these files
> * Copy + paste + edit
> * Check if it works
> 
> Hope this helps.
> 
Thanks I had already figuered it out. However I am not sure about the difference between the settings in user preferences which use the cookie as storage and the config.inc.php ones since they are both in the $cfg variable. If they share a single variable name who gets preference.
> 
> Bye,
> Rouslan
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130614/0b12ebc0/attachment.html>


More information about the Developers mailing list