作者:凹凸曼00威威_694 | 来源:互联网 | 2024-10-24 18:32
IF a user sets the output_handler in php.ini toob_gzhandler, then any right frame file in phpMyAdmin
IF a user sets the output_handler in php.ini to
ob_gzhandler, then any right frame file in phpMyAdmin
will not be handled properly by the browser. My fix
was to check the ini file within the
out_buffer_mode_get() function.
// After this
if (('ob_start'))
$mode = 1;
else
$mode = 0;
// Add this
if(ini_get(output_handler) == "ob_gzhandler")
$mode = 0;
This will disable the output buffering in phpmyadmin
and will let php handle it all internally.
Garth Gillespie
- Original URL: "https://sourceforge.net/p/phpmyadmin/bugs/85/":https://sourceforge.net/p/phpmyadmin/bugs/85/
- Original author: *anonymous
该提问来源于开源项目:phpmyadmin/phpmyadmin
- Status: closed-fixed --> fixed