From a6a3a6e0c271099b6f199c7363eba572fc7b5266 Mon Sep 17 00:00:00 2001 From: nikrou Date: Mon, 29 Mar 2010 18:16:33 +0000 Subject: 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 --- install.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'install.php') diff --git a/install.php b/install.php index 289a32bf0..92c8d7a0b 100644 --- a/install.php +++ b/install.php @@ -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( -- cgit v1.2.3