create the variable $is_show_processlist so the same regular expression don't have to be tested three times
This commit is contained in:
@@ -31,8 +31,14 @@ if (!defined('__OB_LIB_INC__')) {
|
||||
*
|
||||
* (Patch by Garth Gillespie, modified by Marc Delisle)
|
||||
*/
|
||||
if (@get_cfg_var('output_handler') == 'ob_gzhandler') {
|
||||
$mode = 0;
|
||||
if (@function_exists('ini_get')) {
|
||||
if (@ini_get('output_handler') == 'ob_gzhandler') {
|
||||
$mode = 0;
|
||||
}
|
||||
} else {
|
||||
if (@get_cfg_var('output_handler') == 'ob_gzhandler') {
|
||||
$mode = 0;
|
||||
}
|
||||
}
|
||||
// End patch
|
||||
|
||||
|
Reference in New Issue
Block a user