aboutsummaryrefslogtreecommitdiffstats
path: root/include/dblayer/dblayers.inc.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-02-26 20:10:51 +0000
committernikrou <nikrou@piwigo.org>2010-02-26 20:10:51 +0000
commit4986d620e35d0ddecfb88c444cc220d379a48cda (patch)
tree847d2a567c7ef6a20209b184ce3885541db672a0 /include/dblayer/dblayers.inc.php
parent0e45412d84e2745569c97c0ecba0f5d905c94c45 (diff)
Feature 1459 : add support for SQLite3 via PDO
git-svn-id: http://piwigo.org/svn/trunk@4967 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/dblayer/dblayers.inc.php')
-rw-r--r--include/dblayer/dblayers.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dblayer/dblayers.inc.php b/include/dblayer/dblayers.inc.php
index 73c972832..8ab5c3743 100644
--- a/include/dblayer/dblayers.inc.php
+++ b/include/dblayer/dblayers.inc.php
@@ -33,4 +33,9 @@ $dblayers['pgsql'] = array('engine' => 'PostgreSQL',
$dblayers['sqlite'] = array('engine' => 'SQLite',
'function_available' => 'sqlite_open'
);
+
+$dblayers['pdo-sqlite'] = array('engine' => 'PDO::SQLite',
+ 'class_available' => 'PDO'
+ );
+
?> \ No newline at end of file