diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-03 08:02:12 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-03 08:02:12 +0000 |
| commit | d40dd8eed2e09c83c92be8428b3d3db7901f1979 (patch) | |
| tree | 4f4783a9621917d9e15ad5e2fb60ffafbbf69147 /roundcubemail/program/include/rcmail.php | |
| parent | d6d8a0feaca6c856d4ae549c9f0770aa5de9edcb (diff) | |
- Support dynamic hostname (%d/%n) variables in configuration options (#1485438)
git-svn-id: https://svn.roundcube.net/trunk@3701 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcmail.php')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index 652dbd00c..20b7bf7c9 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/program/include/rcmail.php @@ -575,7 +575,7 @@ class rcmail if (!$allowed) return false; } - else if (!empty($config['default_host']) && $host != $config['default_host']) + else if (!empty($config['default_host']) && $host != rcube_parse_host($config['default_host'])) return false; // parse $host URL @@ -743,7 +743,7 @@ class rcmail $host = get_input_value('_host', RCUBE_INPUT_POST); } else - $host = $default_host; + $host = rcube_parse_host($default_host); return $host; } |
