diff options
author | patdenice <patdenice@piwigo.org> | 2010-03-25 10:27:17 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-03-25 10:27:17 +0000 |
commit | 06c7acda4fcc465ee5f7bd29ae47ee380535ba83 (patch) | |
tree | 190d28cf8dfaa4487b5e6930dba2cd5a3b917e44 /install/db/85-database.php | |
parent | 663be9ca638c12d889036d5143fd6553f2575373 (diff) |
Feature 1535: Add languages table.
Ready for theme manager!
git-svn-id: http://piwigo.org/svn/trunk@5341 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/db/85-database.php')
-rw-r--r-- | install/db/85-database.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/install/db/85-database.php b/install/db/85-database.php index 97ed40f8a..16496abc1 100644 --- a/install/db/85-database.php +++ b/install/db/85-database.php @@ -36,6 +36,11 @@ CREATE TABLE ".PREFIX_TABLE."themes ( PRIMARY KEY (`id`) )"; +if (DB_CHARSET == 'utf8') +{ + $query .= " DEFAULT CHARACTER SET utf8"; +} + pwg_query($query); echo |