mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
feature 1255: Move $conf['db_sqlite_default'] and $conf['dbengine_select_default'] in install.php (as constants).
PDO::SQLite is now displayed as SQLite in install page. Always display unique SQLite engine. git-svn-id: http://piwigo.org/svn/trunk@5239 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -528,16 +528,6 @@ $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'] = 'mysql';
|
||||
|
||||
// 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);');
|
||||
|
||||
@@ -34,7 +34,7 @@ $dblayers['sqlite'] = array('engine' => 'SQLite',
|
||||
'function_available' => 'sqlite_open'
|
||||
);
|
||||
|
||||
$dblayers['pdo-sqlite'] = array('engine' => 'PDO::SQLite',
|
||||
$dblayers['pdo-sqlite'] = array('engine' => 'SQLite',
|
||||
'class_available' => 'PDO'
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user