Changeset 3887 in subversion
- Timestamp:
- Aug 10, 2010 2:32:50 AM (3 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
bin/update.sh (modified) (1 diff)
-
installer/test.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r3885 r3887 3 3 4 4 - Improve handling of single-part messages with bogus BODYSTRUCTURE (#1486898) 5 - Fix path to SQL files when using pgsql/mysqli/sqlsrv drivers (#1486902) 5 6 6 7 RELEASE 0.4 -
trunk/roundcubemail/bin/update.sh
r3490 r3887 115 115 } 116 116 else if ($RCI->db_schema_check($DB, false)) { 117 $updatefile = INSTALL_PATH . 'SQL/' . $DB->db_provider . '.update.sql'; 117 $db_map = array('pgsql' => 'postgres', 'mysqli' => 'mysql', 'sqlsrv' => 'mssql'); 118 $updatefile = INSTALL_PATH . 'SQL/' . (isset($db_map[$DB->db_provider]) ? $db_map[$DB->db_provider] : $DB->db_provider) . '.update.sql'; 118 119 echo "WARNING: Database schema needs to be updated!\n"; 119 120 echo "Open $updatefile and execute all queries that are superscribed with the currently installed version number\n"; -
trunk/roundcubemail/installer/test.php
r3749 r3887 167 167 else if ($RCI->db_schema_check($DB, $update = !empty($_POST['updatedb']))) { 168 168 $RCI->fail('DB Schema', "Database schema differs"); 169 $updatefile = INSTALL_PATH . 'SQL/' . $DB->db_provider . '.update.sql'; 169 $db_map = array('pgsql' => 'postgres', 'mysqli' => 'mysql', 'sqlsrv' => 'mssql'); 170 $updatefile = INSTALL_PATH . 'SQL/' . (isset($db_map[$DB->db_provider]) ? $db_map[$DB->db_provider] : $DB->db_provider) . '.update.sql'; 170 171 echo '<p class="warning">Please manually execute the SQL statements from '.$updatefile.' on your database.<br/>'; 171 172 echo 'See comments in the file and execute queries that are superscribed with the currently installed version number.</p>';
Note: See TracChangeset
for help on using the changeset viewer.
