Changeset 2449 in subversion
- Timestamp:
- May 2, 2009 4:11:45 PM (4 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 3 edited
-
INSTALL (modified) (1 diff)
-
installer/config.php (modified) (1 diff)
-
program/include/rcube_mdb2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/INSTALL
r2296 r2449 71 71 * SQLite 72 72 -------- 73 Sqlite requires specifically php5 (sqlite in php4 currently doesn't 74 work with roundcube), and you need sqlite 2 (preferably 2.8) to setup 75 the sqlite db (sqlite 3.x also doesn't work at the moment). Here is 73 You need sqlite 2 (preferably 2.8) to setup the sqlite db 74 (sqlite 3.x also doesn't work at the moment). Here is 76 75 an example how you can setup the sqlite.db for roundcube: 77 76 -
trunk/roundcubemail/installer/config.php
r2438 r2449 270 270 echo '<label for="cfgdbhost">Database server (omit for sqlite)</label><br />'; 271 271 echo $input_dbname->show($RCI->is_post ? $_POST['_dbname'] : $dsnw['database']); 272 echo '<label for="cfgdbname">Database name </label><br />';272 echo '<label for="cfgdbname">Database name (use a path and filename for sqlite)</label><br />'; 273 273 echo $input_dbuser->show($RCI->is_post ? $_POST['_dbuser'] : $dsnw['username']); 274 274 echo '<label for="cfgdbuser">Database user name (needs write permissions)(omit for sqlite)</label><br />'; -
trunk/roundcubemail/program/include/rcube_mdb2.php
r2406 r2449 586 586 587 587 if (strlen($data)) 588 sqlite_exec($dbh->connection, $data); 588 if (!sqlite_exec($dbh->connection, $data, $error) || MDB2::isError($dbh)) 589 raise_error(array('code' => 500, 'type' => 'db', 590 'line' => __LINE__, 'file' => __FILE__, 'message' => $error), TRUE, FALSE); 589 591 } 590 592
Note: See TracChangeset
for help on using the changeset viewer.
