| | |
| | | // check database schema |
| | | if ($RCI->config['db_dsnw']) { |
| | | echo "Executing database schema update.\n"; |
| | | system(INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version'] |
| | | system("php " . INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version'] |
| | | . " --dir=" . INSTALL_PATH . DIRECTORY_SEPARATOR . "SQL", $res); |
| | | |
| | | $success = !$res; |
| | |
| | | |
| | | // index contacts for fulltext searching |
| | | if ($opts['version'] && version_compare(version_parse($opts['version']), '0.6.0', '<')) { |
| | | system(INSTALL_PATH . 'bin/indexcontacts.sh'); |
| | | system("php " . INSTALL_PATH . 'bin/indexcontacts.sh'); |
| | | } |
| | | |
| | | if ($success) { |