aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-21 17:20:56 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-21 17:20:56 +0000
commit2842cb6673a077006aa9c9a742c45e2073edb338 (patch)
tree7835e27a8bd5aac0540285984401c648879c5d24 /admin/include
parent281eff5003e2799c62c5c3fded1786fbb04e2e55 (diff)
feature 1255: set mysql as default engine.
git-svn-id: http://piwigo.org/svn/trunk@5220 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions_install.inc.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/include/functions_install.inc.php b/admin/include/functions_install.inc.php
index bb9acb5b3..48699cd29 100644
--- a/admin/include/functions_install.inc.php
+++ b/admin/include/functions_install.inc.php
@@ -89,7 +89,7 @@ function available_engines()
if (file_exists(sprintf($pattern, $engine_name)))
{
$engines[$engine_name]['label'] = $engine['engine'];
- $engines[$engine_name]['available'] = 'disabled';
+ $engines[$engine_name]['available'] = false;
if (isset($engine['function_available'])
&& function_exists($engine['function_available']))
@@ -104,11 +104,6 @@ function available_engines()
}
}
- if (count($engines)>1)
- {
- $engines[$GLOBALS['conf']['dbengine_select_default']]['selected'] = true;
- }
-
if ($engines['sqlite']['available'] && $engines['pdo-sqlite']['available'])
{
if ($GLOBALS['conf']['db_sqlite_default']=='native')