mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
feature 2773: add pwg_db_close() method
git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1676,7 +1676,7 @@ function create_table_add_character_set($query)
|
||||
defined('DB_CHARSET') or fatal_error('create_table_add_character_set DB_CHARSET undefined');
|
||||
if ('DB_CHARSET'!='')
|
||||
{
|
||||
if ( version_compare(mysql_get_server_info(), '4.1.0', '<') )
|
||||
if ( version_compare(pwg_get_db_version(), '4.1.0', '<') )
|
||||
{
|
||||
return $query;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user