bug 445348

This commit is contained in:
Marc Delisle
2001-08-03 22:57:58 +00:00
parent 085d9919b5
commit beb2ecb8dd
2 changed files with 17 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ $Source$
2001-08-03 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php3: current value of enums was lost.
* bug 445348, if ob_gzhandler already set in php.ini,
patch by Garth Gillespie, modified by me
2001-08-03 Steve Alberty <alberty@neptunlabs.de>
* tbl_properties.php3, db_details.php3: fixed problems with table

View File

@@ -23,6 +23,20 @@ if (!defined('__OB_LIB_INC__')) {
else
$mode = 0;
/*
* 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.
*
* (Patch by Garth Gillespie, modified by Marc Delisle)
*/
if (ini_get('output_handler') == 'ob_gzhandler')
$mode = 0;
// End patch
# Zero (0) is no mode or in other words output buffering is OFF.
# Follow 2^0, 2^1, 2^2, 2^3 type values for the modes.