add @
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
# needed because both header and footer functions must know
|
||||
# what each other is doing.
|
||||
{
|
||||
if (function_exists('ob_start'))
|
||||
if (@function_exists('ob_start'))
|
||||
$mode = 1;
|
||||
else
|
||||
$mode = 0;
|
||||
|
@@ -179,12 +179,12 @@ else
|
||||
}
|
||||
|
||||
if (isset($bzip) && $bzip == 'bzip') {
|
||||
if (function_exists('bzcompress')) {
|
||||
if (@function_exists('bzcompress')) {
|
||||
echo bzcompress($dump_buffer);
|
||||
}
|
||||
}
|
||||
else if (isset($gzip) && $gzip == 'gzip') {
|
||||
if ($gzip == 'gzip' && function_exists('gzencode')) {
|
||||
if ($gzip == 'gzip' && @function_exists('gzencode')) {
|
||||
// without the optional parameter level because it bug
|
||||
echo gzencode($dump_buffer);
|
||||
}
|
||||
|
Reference in New Issue
Block a user