[horde] IMP configuration utility messes with PHP code

Chuck Hagenbuch chuck at horde.org
Fri May 13 17:39:13 PDT 2005


Quoting Lee Howard <faxguy at howardsilvan.com>:

> For the benefit of the Horde maintainers/developers, the
> web-configuration utility for IMP assumes too much about values I
> write-in to the servers.php configuration file.  Because this server is
> used for multiple domains, I have this:
>
>    'maildomain' => ereg_replace("^.*\.([^\.]*\.[^\.]*)$", "\\1",
> $_SERVER["SERVER_NAME"]),
>
> After saving the configuration from the web utility it adds quotes to
> it, which requires me to go and restore this.

The web utility doesn't touch servers.php. And in the web config, 
anything that is *supposed* to be PHP code is left as PHP code and 
definitely isn't quoted. So it's a little unclear what you're talking 
about.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the horde mailing list