Fix some issues with database engines :

- insert into syntax not correct for posgresql or sqlite
- add languages table
- incorrect function for row count (sqlite)

git-svn-id: http://piwigo.org/svn/trunk@5452 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2010-03-29 18:16:33 +00:00
parent a37f1fbae1
commit a6a3a6e0c2
8 changed files with 58 additions and 14 deletions
+4 -1
View File
@@ -380,7 +380,10 @@ INSERT INTO '.$prefixeTable.'config (param,value,comment)
// PWG_CHARSET is required for building the fs_themes array in the
// themes class
define('PWG_CHARSET', $pwg_charset);
if (!defined('PWG_CHARSET'))
{
define('PWG_CHARSET', $pwg_charset);
}
activate_all_themes();
$insert = array(