bug #1863326 [GUI] Wrong error message / no edit (Suhosin)

This commit is contained in:
Marc Delisle
2008-02-09 16:09:54 +00:00
parent 713dfc4929
commit 47445e0699
58 changed files with 88 additions and 0 deletions

View File

@@ -285,6 +285,14 @@ if (function_exists('PMA_DBI_get_client_info')) {
}
unset($_client_info);
}
/**
* Warning about Suhosin
*/
if ($cfg['SuhosinDisableWarning'] == false && @ini_get('suhosin.request.max_value_length')) {
trigger_error(PMA_sanitize(sprintf($strSuhosin, '[a@./Documentation.html#faq1_38@_blank]', '[/a]')), E_USER_WARNING);
}
/**
* prints list item for main page
*