From d9901f2f915d7ef0d8ebd810f1a92706cb0fe7dc Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 20 Jul 2001 20:14:43 +0000 Subject: [PATCH] add @ --- ob_lib.inc.php3 | 2 +- tbl_dump.php3 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ob_lib.inc.php3 b/ob_lib.inc.php3 index c6b4ac640..cb135cb66 100644 --- a/ob_lib.inc.php3 +++ b/ob_lib.inc.php3 @@ -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; diff --git a/tbl_dump.php3 b/tbl_dump.php3 index 763eb739e..cbd4c89b7 100755 --- a/tbl_dump.php3 +++ b/tbl_dump.php3 @@ -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); }