Re: Development status of SAM module? Need a developer?
John Dalbec <[email protected]> Mon, 17 Nov 2003 10:59:52 -0500
| Newsgroups | gmane.comp.horde.sam |
|---|---|
| Message-ID | <[email protected]> |
One more patch. I'm writing my own driver to update SQL _and_ flat files together since I currently have SpamAssassin configured to use flat files and I don't want to break the existing setup. I'm calling it "sqlftp". Imagine my surprise when changing the driver name in conf.php didn't work! Thanks, John --- sam/spamassassin.php Mon Nov 17 09:45:05 2003 +++ spamassassin.php Mon Nov 17 10:06:36 2003 @@ -12,7 +12,7 @@ require_once SAM_BASE . '/lib/base.php'; require_once SAM_BASE . '/config/conf.php'; -$sam = new SAM( 'sql', $conf['storage']['params'] ); +$sam = new SAM( $conf['storage']['driver'], $conf['storage']['params'] ); /* Request retrieval of related user data. */ $sam->retrieve(); Damian Gerow wrote: > Thus spake John Dalbec ([email protected]) [05/11/03 17:10]: > >>I forgot to mention that my patch is against the Horde 2.x backport, in >>which you hard-code "mail.example.org" as the FTP host in >>enabledisable.php. I presume the behavior you're describing is that of CVS >>HEAD? > > > Well, it would appear that the version we're actually using is slightly > different than the version I have up for distribution... :) I figured > yours was agains the 2.x backport, as that's what you were replying to. I > don't follow CVS for sam. > > I'll apply all three patches later tonight, and start working on the > configurable-by-realm tidbit as well. > -- sam mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]