test for the repository
[old-projects.git] / philter / philter / install.d / config.inc.php
1 <?php
2 /********************************************************************************
3 * install.d/config.inc.php : configuration of philter
4 * ------------------------
5 *
6 * This file is part of the philter distribution
7 * Copyright: See COPYING files that comes with this distribution
8 ********************************************************************************/
9
10
11 $philter = new Philter();
12
13 /********** LOCALE **********/
14
15 require("locales/philter.en.inc.php");
16
17 /********** DATABASE **********/
18
19 $philter->config['db']['host'] = "localhost";
20 $philter->config['db']['name'] = "philter";
21 $philter->config['db']['user'] = "philter";
22 $philter->config['db']['pass'] = "philter";
23
24 $philter->pconnect();
25
26 /********** PATHS **********/
27
28 $philter->config['path']['procmail'] = "/usr/bin/procmail";
29 $philter->config['path']['spool'] = "/var/spool/philter";
30
31 /********** PLUGINS **********/
32
33 $philter->register_global_plugin(new BogoPlugin(true));
34
35 $philter->register_plugin(new HdrPlugin(false));
36 $philter->register_plugin(new CustHdrPlugin(false));
37
38 $philter->register_plugin(new FwdPlugin());
39 $philter->register_plugin(new AutoReplyPlugin());
40
41 /********************************************************************************
42 * $Id$
43 * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100:
44 ********************************************************************************/
45 ?>