[imp] maildoman

Atif Ghaffar aghaffar@developer.ch
Sun, 21 Jan 2001 21:28:46 +0100


Chuck Hagenbuch wrote:
> 
> In addition, the maildomain preference goes away (you can remove it
> from prefs.php), and $conf['server']['to_domain'] and $conf['server']
> ['namespace'] are both deprecated and can be removed from conf.php.
> 

Oh, thats gonna break.
$conf['server']['to_domain'] =
preg_replace("/(\w+)\.([\w\-]+)\.(\w+)\:*.*/", "\\2.\\3",
$HTTP_SERVER_VARS['SERVER_NAME']);

Can this be done in servers.php?



-- 
Atif Ghaffar
Internet Development Manager
4unet AG/SA 

-------------------------.
	+41 78 787 51 45 ¦ voice
	+41 24 441 09 03 ¦ fax
    http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
  atif.ghaffar@4unet.net ¦ email

Do you speak Unix?