<div id="reply-content"><span class="Apple-style-span" style="color: rgb(160, 160, 168); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">On Friday, June 14, 2013 at 9:10 PM, Rouslan Placella wrote:</span></div>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<div id="quoted-message-content"><div><div>On 06/14/2013 10:44 AM, Mohamed Ashraf wrote:</div><blockquote type="cite"><div><div>On Fri, Jun 14, 2013 at 10:33 AM, Dieter Adriaenssens</div><div><dieter.adriaenssens@gmail.com> wrote:</div><blockquote type="cite"><div><div>Yes, that's correct.</div><div>The new setting should also be documented in the docfile</div><div>doc/config.rst and be added to the setup script (as Rouslan</div><div>mentioned).</div></div></blockquote><div><br></div><div>I read the files in the setup directory however I am not sure how to</div><div>add my setting to the setup script. there seems to be some way the</div><div>forms are automatically generated however I do not seem to be able to</div><div>reverse engineer it.</div></div></blockquote><div><br></div><div>You don't need to reverse engineer anything. In fact, you probably don't</div><div>need to understand how the setup scripts work that much.</div><div><br></div><div>The procedure that I would take would be:</div><div><br></div><div>* Find a configuration variable that exists in the setup, but not in the</div><div>user preferences. Let's take $cfg['RecodingEngine']</div><div>* grep for it (eg: git grep RecodingEngine)</div><div>* Look in all files whose names sound like they have something to do</div><div>with the configuration.</div><div>* See where the RecodingEngine variable appears in these files</div><div>* Copy + paste + edit</div><div>* Check if it works</div><div><br></div><div>Hope this helps.</div><div><br></div></div></div></blockquote><div>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.</div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><div id="quoted-message-content"><div><div></div><div>Bye,</div><div>Rouslan</div><div>------------------------------------------------------------------------------</div><div>This SF.net email is sponsored by Windows:</div><div><br></div><div>Build for Windows Store.</div><div><br></div><div>http://p.sf.net/sfu/windows-dev2dev</div><div>_______________________________________________</div><div>Phpmyadmin-devel mailing list</div><div>Phpmyadmin-devel@lists.sourceforge.net</div><div>https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</div></div></div>
</blockquote>
<div>
<br>
</div>