2 /********************************************************************************
3 * include/core.inc.php : The include file for using Philter Core
6 * This file is part of the philter distribution
7 * Copyright: See COPYING files that comes with this distribution
8 ********************************************************************************/
10 require_once("include/emails.inc.php");
11 require_once("include/rule.inc.php");
12 require_once("include/filter.inc.php");
14 require_once("include/plugin.inc.php");
16 $handle = opendir('include');
17 while(($file = readdir($handle)) !== false
)
18 if(preg_match("/^plugin_.*\.inc\.php$/",$file))
19 require_once('include/'.$file);
22 // PHP 4.3.0 required !!!
23 // foreach(glob("include/plugin_*.inc.php") as $file) require_once($file);
25 /********************************************************************************
27 * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100:
28 ********************************************************************************/