diff options
author | nikrou <nikrou@piwigo.org> | 2010-01-28 11:30:36 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-01-28 11:30:36 +0000 |
commit | 386864cd2612ac743e182253541bddfebed80606 (patch) | |
tree | f2c8a0d0f72bb919e28f751c8fc20544a919ba8e /include/dblayer/dblayers.inc.php | |
parent | 22191d91a223c4e71399f32ff42cf61a53e9d19d (diff) |
Feature 511 : add support for sqlite database engine
Using session_write_close function when session handler use database because write is called after object destruction.
git-svn-id: http://piwigo.org/svn/trunk@4781 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/dblayer/dblayers.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dblayer/dblayers.inc.php b/include/dblayer/dblayers.inc.php index 235b02cf9..73c972832 100644 --- a/include/dblayer/dblayers.inc.php +++ b/include/dblayer/dblayers.inc.php @@ -29,4 +29,8 @@ $dblayers['mysql'] = array('engine' => 'MySQL', $dblayers['pgsql'] = array('engine' => 'PostgreSQL', 'function_available' => 'pg_connect' ); + +$dblayers['sqlite'] = array('engine' => 'SQLite', + 'function_available' => 'sqlite_open' + ); ?>
\ No newline at end of file |