reworked registration email; fixes #62

This commit is contained in:
following
2013-07-14 20:57:51 +02:00
parent 2bb6758232
commit 376401d416
5 changed files with 70 additions and 61 deletions

View File

@ -163,11 +163,11 @@ function configure_php()
function set_domain()
{
global $opt;
if (!isset($opt['domain']))
return;
$domain = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : '';
if ($domain == '')
$opt['page']['domain'] = $domain;
if (!isset($opt['domain']) || $domain == '')
return;
if (isset($opt['domain'][$domain]))