From f830ee4cbbce854f30510ce89d984eb3553026c7 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sun, 2 Jan 2005 21:26:06 +0000 Subject: [PATCH] config.inc.php is now a REAL file of the package --- .../config.inc.php => include/config.inc.php.in | 29 ++++------------------ 1 file changed, 5 insertions(+), 24 deletions(-) rename install.d/config.inc.php => include/config.inc.php.in (72%) diff --git a/install.d/config.inc.php b/include/config.inc.php.in similarity index 72% rename from install.d/config.inc.php rename to include/config.inc.php.in index 885d2e9..9d475dd 100644 --- a/install.d/config.inc.php +++ b/include/config.inc.php.in @@ -14,36 +14,17 @@ $news['maxspool'] = 3000; $news['hdecode'] = array('from','name','organization','subject'); // headers in article.php -$news['head'] = array( - 'From' => 'from', - 'Subject' => 'subject', - 'Newsgroups' => 'newsgroups', - 'Followup-To' => 'followup', - 'Date' => 'date', - 'Message-ID' => 'msgid', - 'Organization' => 'organization', - 'References' => 'references', - 'X-Face' => 'xface', -); +$news['head'] = array('content-transfer-encoding', 'content-type', 'date', 'followup-to', 'from', + 'message-id', 'newsgroups', 'organization', 'references', 'subject', 'x-face'); -// headers in article.php -$news['headdisp']=array( - 'from', - 'subject', - 'newsgroups', - 'followup', - 'date', - 'organization', - 'references', - 'xface' - ); +$news['headdisp'] = array('date', 'followup-to', 'from', 'newsgroups', 'organization', 'references', 'subject', 'x-face'); // overview configuration in article.php $news['threadtop'] = 5; $news['threadbottom'] = 5; // wordwrap configuration -$news['wrap'] = 80; +$news['wrap'] = 74; // overview configuration in thread.php $news['max'] = 50; @@ -53,7 +34,7 @@ $news['customhdr'] = "Content-Type: text/plain; charset=iso-8859-15\n" ."Mime-Version: 1.0\n" ."Content-Transfer-Encoding: 8bit\n" ."HTTP-Posting-Host: ".gethostbyname($_SERVER['REMOTE_ADDR'])."\n" -."User-Agent: Banana 0.7.1\n"; +."User-Agent: Banana @VERSION@\n"; $css = array( 'bananashortcuts' => 'bananashortcuts', -- 2.1.4