https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6577c46
)
r1549: Change the collation of the database to be 'utf8_general_ci' before we begin...
author
Robert Sesek <rsesek@bluestatic.org>
Fri, 1 Jun 2007 05:49:49 +0000
(
05:49
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Fri, 1 Jun 2007 05:49:49 +0000
(
05:49
+0000)
install/install.php
patch
|
blob
|
history
diff --git
a/install/install.php
b/install/install.php
index 5a9ff4ad3b51f2b2075ab169b213910815596129..17d9fb720960ca9134fadff09d07f4a06cba1a52 100644
(file)
--- a/
install/install.php
+++ b/
install/install.php
@@
-22,6
+22,9
@@
define('STOP_MARK', 8);
define('ACTIVE_SITE', 'install.php');
+// the collation used for installation
+$COLLATION = 'utf8_general_ci';
+
require_once('./global.php');
page_start();
@@
-121,6
+124,9
@@
if ($bugsys->in['mark'] == 2)
<?php
+ require './includes/config.php';
+ $db->query("ALTER DATABASE $database COLLATE $COLLATION");
+
require_once('./install/schema.php');
foreach ($schema AS $table => $query)