[imp] cant use HTTP_SERVER_VARS in servers.php

Atif Ghaffar aghaffar@developer.ch
Tue, 17 Apr 2001 15:38:41 +0200


I added globals $HTTP_SERVER_VARS in servers.php and it fixed the error.
Is Horde default configuration setting stricter permissions than before
?
thanks


Atif Ghaffar wrote:
> 
> Hi.
> I get the following error in I use HTTP_SERVER_VARS in
> horde/imp/config/servers.php
> Warning: Undefined variable: HTTP_SERVER_VARS in
> /u1/usr/apache/htdocs/horde/imp/config/servers.php on line 76
> My servers.php has the following line.
> 
> 'maildomain' => preg_replace("/(\w+)\.([\w\-]+)\.(\w+)\:*.*/",
> "\\2.\\3", $HTTP_SERVER_VARS['SERVER_NAME']),
> 
> It used to work some time back but not any more.
> Any thing I have to change to get this working again?
> 
> thanks for your help.