From c123ca2922f22f19ca69e1c0d02b81533bee4312 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 5 Feb 2006 07:25:11 +0000 Subject: Add which will be included with package backups soon to backup essential files not included by config.xml --- packages/spamd.xml | 5 +++-- packages/spamd_db.php | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'packages') diff --git a/packages/spamd.xml b/packages/spamd.xml index 8a7fc6ea..9bceb8fd 100644 --- a/packages/spamd.xml +++ b/packages/spamd.xml @@ -3,7 +3,8 @@ spamdsources 4.2 /usr/local/pkg/spamd.inc - + SpamD + /var/db/spamd SpamD @@ -12,7 +13,7 @@ spamd - spamd.sh + /usr/local/etc/rc.d/spamd.sh diff --git a/packages/spamd_db.php b/packages/spamd_db.php index 046ce6cb..c55a0e2c 100644 --- a/packages/spamd_db.php +++ b/packages/spamd_db.php @@ -232,7 +232,7 @@ if (typeof getURL == 'undefined') { $col = str_replace("-"," -",$col); $col = str_replace("."," .",$col); } - $rowtext .= "{$col}"; + $rowtext .= " {$col} "; $column++; } if(strstr($pkgdb_row, "TRAPPED")) { @@ -245,14 +245,14 @@ if (typeof getURL == 'undefined') { $rowtext .= ""; } } - $rowtext .= ""; + $rowtext .= " "; $srcip = $pkgdb_split[1]; $lastrow = $rows - 1; $rowtext .= "\"Add "; $rowtext .= "\"Blacklist\" "; $rowtext .= "\"Delete\""; $rowtext .= "\"Spamtrap\" "; - $rowtext .= ""; + $rowtext .= " "; $rowtext .= ""; if($srcip == "") $dontdisplay = true; -- cgit v1.2.3