aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-02-27 20:00:00 +0000
committernikrou <nikrou@piwigo.org>2010-02-27 20:00:00 +0000
commitd4287e2ad82770d8903dc1eb6cb906bb690de63a (patch)
tree614d7d8e12c9cbf94ba09682e09206aef370dd82 /include
parent4986d620e35d0ddecfb88c444cc220d379a48cda (diff)
Feature 1460 : Customize form installation depending on database engine
- sqlite is proposed by default if severals database engine are available (cf conf) - sqlite is proposed before pdo-sqlite - remove host, user and password for sqlite git-svn-id: http://piwigo.org/svn/trunk@4985 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index c685002bb..972d89ea5 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -520,6 +520,16 @@ $conf['user_fields'] = array(
'email' => 'mail_address'
);
+// database engine default choice between sqlite (native or via pdo)
+// if the twice are available.
+// $conf['db_sqlite_default'] = 'pdo';
+$conf['db_sqlite_default'] = 'native';
+
+// default database engine proposed if severals are available
+// choices : sqlite, mysql, pgsql, pdo-sqlite
+// see include/dblayer/dblayers.inc.php
+$conf['dbengine_select_default'] = 'sqlite';
+
// pass_convert : function to crypt or hash the clear user password to store
// it in the database
$conf['pass_convert'] = create_function('$s', 'return md5($s);');