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
This commit is contained in:
parent
0bba3bfcf7
commit
6f04aba061
7 changed files with 861 additions and 20 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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' =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue