reworked registration email; fixes #62
This commit is contained in:
@ -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]))
|
||||
|
Reference in New Issue
Block a user