CustomConfig Local Functions

Julian Field mailscanner at ecs.soton.ac.uk
Fri Feb 13 15:59:39 GMT 2004


At 15:17 13/02/2004, you wrote:
>Would it possible to have something like,
>
>if ( -f "/opt/MailScanner/etc/CustomConfig.pm") {
>         do "/opt/MailScanner/etc/CustomConfig.pm";
>}
>
>added to CustomConfig.pm?
>
>I like to keep my local functions in a location other than the included
>CustomConfig.pm.

Just add a "require" statement to CustomConfig.pm.
Also, note that if you change CustomConfig.pm at all, it will *not* be
overwritten by any later upgrade. So your mods are quite safe in there.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list