aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-01-30 11:12:22 +0000
committermistic100 <mistic@piwigo.org>2013-01-30 11:12:22 +0000
commit6f04aba061be1202b7f987db6bac03014cf01aeb (patch)
treedc59c3e896685d403019bbb5d167c1057af21119 /admin
parent0bba3bfcf74c8da52c722fc06084c0e779178187 (diff)
feature:65 Add support for PHP mysqli extension, activated by default, remove returns of link_identifier
git-svn-id: http://piwigo.org/svn/trunk@20462 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/include/c13y_internal.class.php16
-rw-r--r--admin/intro.php2
2 files changed, 11 insertions, 7 deletions
diff --git a/admin/include/c13y_internal.class.php b/admin/include/c13y_internal.class.php
index 313989bfa..27df84246 100644
--- a/admin/include/c13y_internal.class.php
+++ b/admin/include/c13y_internal.class.php
@@ -42,13 +42,17 @@ class c13y_internal
$check_list = array();
- $check_list[] = array('type' => 'PHP', 'current' => phpversion(), 'required' => REQUIRED_PHP_VERSION);
+ $check_list[] = array(
+ 'type' => 'PHP',
+ 'current' => phpversion(),
+ 'required' => REQUIRED_PHP_VERSION,
+ );
- $db_version = pwg_get_db_version();
- $check_list[] = array('type' => $conf['dblayer'],
- 'current' => $db_version,
- 'required' => constant('REQUIRED_'.str_replace('-', '_', strtoupper($conf['dblayer'])).'_VERSION')
- );
+ $check_list[] = array(
+ 'type' => 'MySQL',
+ 'current' => pwg_get_db_version(),
+ 'required' => REQUIRED_MYSQL_VERSION,
+ );
foreach ($check_list as $elem)
{
diff --git a/admin/intro.php b/admin/intro.php
index d49f6d48a..c454e50b4 100644
--- a/admin/intro.php
+++ b/admin/intro.php
@@ -197,7 +197,7 @@ $template->assign(
'PWG_VERSION' => PHPWG_VERSION,
'OS' => PHP_OS,
'PHP_VERSION' => phpversion(),
- 'DB_ENGINE' => $conf['dblayer'],
+ 'DB_ENGINE' => 'MySQL',
'DB_VERSION' => $db_version,
'DB_ELEMENTS' => l10n_dec('%d photo', '%d photos', $nb_elements),
'DB_CATEGORIES' =>