Changeset 3977 in subversion
- Timestamp:
- Sep 20, 2010 7:07:56 AM (3 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (4 diffs)
-
program/include/main.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r3974 r3977 26 26 - Fix when IMAP connection fails in 'get' action session shouldn't be destroyed (#1486995) 27 27 - Fix list_cols is not updated after column dragging (#1486999) 28 - Support %z variable in host configuration options (#1487003) 28 29 29 30 RELEASE 0.4 -
trunk/roundcubemail/config/main.inc.php.dist
r3907 r3977 99 99 // %n - http hostname ($_SERVER['SERVER_NAME']) 100 100 // %d - domain (http hostname without the first part) 101 // %z - IMAP domain (IMAP hostname without the first part) 101 102 // For example %n = mail.domain.tld, %d = domain.tld 102 103 $rcmail_config['smtp_server'] = ''; … … 185 186 // %n - http hostname ($_SERVER['SERVER_NAME']) 186 187 // %d - domain (http hostname without the first part) 188 // %z - IMAP domain (IMAP hostname without the first part) 187 189 // For example %n = mail.domain.tld, %d = domain.tld 188 190 $rcmail_config['username_domain'] = ''; … … 194 196 // %n - http hostname ($_SERVER['SERVER_NAME']) 195 197 // %d - domain (http hostname without the first part) 198 // %z - IMAP domain (IMAP hostname without the first part) 196 199 // For example %n = mail.domain.tld, %d = domain.tld 197 200 $rcmail_config['mail_domain'] = ''; … … 401 404 // %n - http hostname ($_SERVER['SERVER_NAME']) 402 405 // %d - domain (http hostname without the first part) 406 // %z - IMAP domain (IMAP hostname without the first part) 403 407 // For example %n = mail.domain.tld, %d = domain.tld 404 408 'hosts' => array('directory.verisign.com'), -
trunk/roundcubemail/program/include/main.inc
r3968 r3977 1589 1589 // %h - IMAP host 1590 1590 $h = $_SESSION['imap_host']; 1591 1592 $name = str_replace(array('%n', '%d', '%h'), array($n, $d, $h), $name); 1591 // %z - IMAP domain without first part, e.g. %h=imap.domain.tld, %z=domain.tld 1592 $z = preg_replace('/^[^\.]+\./', '', $h); 1593 1594 $name = str_replace(array('%n', '%d', '%h', '%z'), array($n, $d, $h, $z), $name); 1593 1595 return $name; 1594 1596 }
Note: See TracChangeset
for help on using the changeset viewer.
