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