diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-07 13:34:41 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-07 13:34:41 +0000 |
| commit | f91adb2e30eae548dd457327a6ca50217dfc909e (patch) | |
| tree | 35d0394d96bd9acc16649a7ffd64e2c973a622f0 | |
| parent | 58e46212b590ae379d3ae290c1c2a4a5e45d0d10 (diff) | |
Update UPGRADNG instructions + add SVN revision to version string (if available)
git-svn-id: https://svn.roundcube.net/trunk@1488 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/UPGRADING | 8 | ||||
| -rwxr-xr-x | roundcubemail/program/include/rcube_template.php | 7 |
2 files changed, 13 insertions, 2 deletions
diff --git a/roundcubemail/UPGRADING b/roundcubemail/UPGRADING index e99fc3520..996b4f258 100644 --- a/roundcubemail/UPGRADING +++ b/roundcubemail/UPGRADING @@ -1,7 +1,11 @@ UPDATE instructions =================== -Follow these instructions if upgrading from a previous version +First you should remove all subfolders from /program/localization/ +because most language codes have changed in 0.2-alpha. This way you +can make sure that no old localization files remain on your disk. + +Then follow these instructions if upgrading from a previous version of RoundCube Webmail. from version 0.1.1 @@ -10,6 +14,8 @@ from version 0.1.1 * replace all files in folder /bin/ * replace all files in folder /program/ * replace all files in folder /skins/default/ +* run all commands in SQL/[yourdbtype].update.sql + below the line "-- Updates from version 0.1.1" * check the config/main.inc.php.dist for new configuration options and add them to your config diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index d519f7533..2173784b6 100755 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/program/include/rcube_template.php @@ -534,7 +534,12 @@ class rcube_template extends rcube_html_page return Q($name); } if ($object=='version') { - return (string)RCMAIL_VERSION; + $ver = (string)RCMAIL_VERSION; + if (is_file(INSTALL_PATH . '.svn/entries')) { + if (preg_match('/Revision:\s(\d+)/', @shell_exec('svn info'), $regs)) + $ver .= ' [SVN r'.$regs[1].']'; + } + return $ver; } if ($object=='pagetitle') { $task = $this->task; |
