function Philter() {
$this->config = array(
'db' => array('host', 'name', 'user', 'pwd', 'link'),
- 'path' => array('procmail', 'spool'),
+ 'path' => array('spool'),
'match_plugins' => array(),
'action_plugins' => array(),
'global_plugins' => array(),
* @return true if all is ok
*/
function write_procmailrc(&$procmail, $filename) {
- $file = $philter->config['path']['spool']."/".$filename;
+ $file = $this->config['path']['spool']."/".$filename;
$f = fopen($file.".tmp", "w");
fwrite($f, $procmail, strlen($procmail));
fclose($f);