mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
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
This commit is contained in:
@@ -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);');
|
||||
|
||||
Reference in New Issue
Block a user