X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=6a87f258cce888a8cdc0a1836a5d528ac22922d8;hp=591f12976bfae3e57a08f8a04c7e0efa0747d1c8;hb=bfbf712685680761babfd9ea059a224a4aa244bf;hpb=9270eabb4c34f6fe04d56e7e702cf000849358d3 diff --git a/inc/functions.php b/inc/functions.php index 591f12976b..6a87f258cc 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -51,51 +51,16 @@ function IS_INC_WRITEABLE($inc) { $fp = @fopen($fqfn, 'a'); if ($inc == "dummy") { // Remove dummy file - @fclose($fp); - return @unlink($fqfn); + fclose($fp); + return unlink($fqfn); } else { // Close all other files - return @fclose($fp); - } -} - -// Open a table (you may want to add some header stuff here) -function OPEN_TABLE($PERCENT = "", $CLASS = "", $ALIGN="left", $VALIGN="", $td_only=false) { - global $table_cnt; - - // Count tables so we can generate CSS classes for every table... :-) - if (empty($CLASS)) { - // Class is empty so count one up and create a class - $table_cnt++; $CLASS = "class".$table_cnt; + return fclose($fp); } - $OUT = "