* fixing spelling errors reported in #1484885
| | |
| | | $rcmail_config = array(); |
| | | |
| | | // PEAR database DSN for read/write operations |
| | | // format is db_provider://user:password@host/databse |
| | | // format is db_provider://user:password@host/database |
| | | // currently supported db_providers: mysql, mysqli, pgsql, sqlite, mssql |
| | | |
| | | $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; |
| | |
| | | } |
| | | else { |
| | | $RCI->fail('DSN (write)', $db_error_msg); |
| | | echo '<p class="hint">Make sure that the configured database extists and that the user as write privileges<br />'; |
| | | echo '<p class="hint">Make sure that the configured database exists and that the user has write privileges<br />'; |
| | | echo 'DSN: ' . $RCI->config['db_dsnw'] . '</p>'; |
| | | if ($RCI->config['db_backend'] == 'mdb2') |
| | | echo '<p class="hint">There are known problems with MDB2 running on PHP 4. Try setting <tt>db_backend</tt> to \'db\' instead</p>'; |