Changeset 2947 in subversion


Ignore:
Timestamp:
Sep 12, 2009 3:53:27 AM (4 years ago)
Author:
alec
Message:
  • added comments to set absolute path for SQLite DSN (#1486095)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/config/db.inc.php.dist

    r2237 r2947  
    1717// PEAR database DSN for read/write operations 
    1818// format is db_provider://user:password@host/database  
     19// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php 
    1920// currently supported db_providers: mysql, mysqli, pgsql, sqlite, mssql 
    2021 
    2122$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail'; 
    2223// postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail'; 
    23 // sqlite example: 'sqlite://./sqlite.db?mode=0646'; 
     24// Warning: for SQLite use absolute path in DSN: 
     25// sqlite example: 'sqlite:////full/path/to/sqlite.db?mode=0646'; 
    2426 
    2527// PEAR database DSN for read only operations (if empty write database will be used) 
  • trunk/roundcubemail/installer/config.php

    r2522 r2947  
    270270echo '<label for="cfgdbhost">Database server (omit for sqlite)</label><br />'; 
    271271echo $input_dbname->show($RCI->is_post ? $_POST['_dbname'] : $dsnw['database']); 
    272 echo '<label for="cfgdbname">Database name (use a path and filename for sqlite)</label><br />'; 
     272echo '<label for="cfgdbname">Database name (use absolute path and filename for sqlite)</label><br />'; 
    273273echo $input_dbuser->show($RCI->is_post ? $_POST['_dbuser'] : $dsnw['username']); 
    274274echo '<label for="cfgdbuser">Database user name (needs write permissions)(omit for sqlite)</label><br />'; 
Note: See TracChangeset for help on using the changeset viewer.