ini_get is a php4 only function and may be disabled -> put an @ before it is called to avoid errors
This commit is contained in:
@@ -23,7 +23,7 @@ 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
|
||||
@@ -31,10 +31,9 @@ if (!defined('__OB_LIB_INC__')) {
|
||||
*
|
||||
* (Patch by Garth Gillespie, modified by Marc Delisle)
|
||||
*/
|
||||
|
||||
if (ini_get('output_handler') == 'ob_gzhandler')
|
||||
if (@ini_get('output_handler') == 'ob_gzhandler') {
|
||||
$mode = 0;
|
||||
|
||||
}
|
||||
// End patch
|
||||
|
||||
# Zero (0) is no mode or in other words output buffering is OFF.
|
||||
|
Reference in New Issue
Block a user