cf198c43dd07025ba1009a6007a71041076a15b3
2 /********************************************************************************
3 * install.d/config.inc.php : configuration file
4 * --------------------------
6 * This file is part of the banana distribution
7 * Copyright: See COPYING files that comes with this distribution
8 ********************************************************************************/
10 /** comparison function for the overview
11 * @param $a OBJECT spoolhead
12 * @param $b OBJECT spoolhead
16 function spoolcompare($a,$b) {
18 return ($b->date
>=$a->date
);
21 // spool config in spool.inc.php
22 $news['maxspool'] = 3000;
25 $news['hdecode'] = array('from','name','organization','subject');
27 // headers in article.php
28 $news['head'] = array(
30 'Subject' => 'subject',
31 'Newsgroups' => 'newsgroups',
32 'Followup-To' => 'followup',
34 'Message-ID' => 'msgid',
35 'Organization' => 'organization',
36 'References' => 'references',
40 // headers in article.php
41 $news['headdisp']=array(
52 // overview configuration in article.php
53 $news['threadtop'] = 5;
54 $news['threadbottom'] = 5;
56 // wordwrap configuration
59 // overview configuration in thread.php
62 // custom headers in post.php
63 $news['customhdr'] = "Content-Type: text/plain; charset=iso-8859-15\n"
64 ."Mime-Version: 1.0\n"
65 ."Content-Transfer-Encoding: 8bit\n"
66 ."HTTP-Posting-Host: ".gethostbyname($_SERVER['REMOTE_ADDR'])."\n"
67 ."User-Agent: Banana 0.7.1\n";
70 'bananashortcuts' => 'bananashortcuts',
73 'bicoltitre' => 'bicoltitre',
74 'bicolvpadd' => 'bicolvpadd',
83 'description' => 'description',
85 'subject' => 'subject',
89 'overview' => 'overview',