bug #3961 Avoid Suhosin warning when in simulation mode

This commit is contained in:
Marc Delisle 2013-06-02 09:21:00 -04:00
parent 254ecc3094
commit d2e217160b
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ phpMyAdmin - ChangeLog
4.0.4.0 (not yet released)
- bug #3959 Using DefaultTabDatabase in NavigationTree for Database Click
- bug #3961 Avoid Suhosin warning when in simulation mode
4.0.3.0 (not yet released)
- bug #3941 Recent tables list always empty

View File

@ -519,6 +519,8 @@ if (function_exists('PMA_DBI_get_client_info') && !PMA_DRIZZLE) {
*/
if ($cfg['SuhosinDisableWarning'] == false
&& @ini_get('suhosin.request.max_value_length')
// warn about Suhosin only if its simulation mode is not enabled
&& @ini_get('suhosin.simulation') == '0'
) {
trigger_error(
sprintf(