Changeset 1488 in subversion


Ignore:
Timestamp:
Jun 7, 2008 9:34:41 AM (5 years ago)
Author:
thomasb
Message:

Update UPGRADNG instructions + add SVN revision to version string (if available)

Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/UPGRADING

    r1374 r1488  
    22=================== 
    33 
    4 Follow these instructions if upgrading from a previous version 
     4First you should remove all subfolders from /program/localization/ 
     5because most language codes have changed in 0.2-alpha. This way you 
     6can make sure that no old localization files remain on your disk. 
     7 
     8Then follow these instructions if upgrading from a previous version 
    59of RoundCube Webmail. 
    610 
     
    1115* replace all files in folder /program/ 
    1216* replace all files in folder /skins/default/ 
     17* run all commands in SQL/[yourdbtype].update.sql 
     18  below the line "-- Updates from version 0.1.1" 
    1319* check the config/main.inc.php.dist for new configuration  
    1420  options and add them to your config  
  • trunk/roundcubemail/program/include/rcube_template.php

    r1433 r1488  
    535535                } 
    536536                if ($object=='version') { 
    537                     return (string)RCMAIL_VERSION; 
     537                    $ver = (string)RCMAIL_VERSION; 
     538                    if (is_file(INSTALL_PATH . '.svn/entries')) { 
     539                        if (preg_match('/Revision:\s(\d+)/', @shell_exec('svn info'), $regs)) 
     540                          $ver .= ' [SVN r'.$regs[1].']'; 
     541                    } 
     542                    return $ver; 
    538543                } 
    539544                if ($object=='pagetitle') { 
Note: See TracChangeset for help on using the changeset viewer.