<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/11/19 Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Piotr Przybylski a écrit :<br>
<div><div class="h5">> 2013/11/19 Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>><br>
><br>
>> Le 2013-11-18 19:37, Mohamed Ashraf a écrit :<br>
>>> On Monday, November 18, 2013 at 7:06 PM, Marc Delisle wrote:<br>
>>>> Hi Mohamed,<br>
>>>><br>
>>>> Why do we need two configuration directives? I guess that instead of<br>
>>>> verifying whether ErrorReporting is true, we could just verify whether<br>
>>>> SendErrorReports is different than 'never' to load the js files.<br>
>>>><br>
>>>> If you confirm my suggestion, I'll make the changes.<br>
>>>><br>
>>> One was actually meant for the hoster of the phpmyadmin installation and<br>
>>> one for the user. If you donot want the phpmyadmin deployer to have<br>
>>> control over it you can remove it.<br>
>>><br>
>>> I just thought this is a new system and if a fatal bug is not caught<br>
>>> before a release we need to have an easy way for a deployer using that<br>
>>> release to disable it.<br>
>>><br>
>>> Or if for whatever reason the data is secretive enough that he diesnt<br>
>>> want it on our publc servers if he doesnt trust it is anonymous enough.<br>
>> Thanks, I accept your explanation and I'll just add some documentation.<br>
>><br>
>><br>
> Hosters can disable ErrorReporting and add it to UserprefsDisallow:<br>
> $cfg['UserprefsDisallow'] = array('UserprefsDisallow');<br>
><br>
> That way users won't be able to override their settings.<br>
<br>
</div></div>Piotr,<br>
ErrorReporting is not part of user preferences, but SendErrorReports is.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br>Yes, you are right. I just gave it as an example that it can be done with just one switch.<br><br>-- <br></div><div>Regards,<br></div><div>Piotr Przybylski<br>
</div></div></div></div>