[Phpmyadmin-devel] Piotr's tree: suggestion

Piotr Przybylski piotr.prz at gmail.com
Thu Jul 22 01:39:14 CEST 2010


W dniu 21 lipca 2010 17:52 użytkownik Marc Delisle <marc at infomarc.info> napisał:
> Piotr Przybylski a écrit :
>> 2010/7/21 Michal Čihař <michal at cihar.com>:
>>> Hi
>>>
>>> Dne Wed, 21 Jul 2010 09:25:38 -0400
>>> Marc Delisle <marc at infomarc.info> napsal(a):
>>>
>>>> I wonder if $cfg['Error_Handler']['display'] should be made available in
>>>> a setting.
>>>>
>>>> I'm ambivalent about this one. As a developer I would like to be able to
>>>> turn it on and off; on the other hand, we don't want to promote
>>>> information disclosing.
>>
>> Then, I will add it but make disabled by default (add it to
>> UserprefsDisallow in config.default.php). Or, I will create a hidden
>> "developer" tab, with some settings (gather, php and sql debug). The
>> tab would be visible only if any of its settings would be enabled
>> (i.e. removed from UserprefsDisallow) in config.inc.php.
>>
>
> Adding to UserprefsDisallow would be fine with me; this way we would use
> the same mechanism for many things, instead of a new mechanism for a
> hidden tab,

I added a new Developer tab with four options: Error_Handler display
and gather, DBG php and sql. Tab is hidden if none of those options is
settable by the user (by default all are disabled in
config.default.php).

Please modify demo server's config.inc.php to enable this tab and
disable something other:
$cfg['UserprefsDisallow'] = array('LeftFrameLight'); // or any other
setting(s), so that some disabled setting is actually visible there

-- 
Piotr Przybylski




More information about the Developers mailing list