summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-20 11:23:07 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-20 11:23:07 +0000
commit01c792a78969dcfa3e9dd99a4491ccb6836ca8c1 (patch)
tree0454f255450da6b24ce0b6d91a388705247e32e2 /data
parent40ca013e42ff64f5c88e31077e9e816cc3b7e581 (diff)
downloadsemanticscuttle-01c792a78969dcfa3e9dd99a4491ccb6836ca8c1.tar.gz
semanticscuttle-01c792a78969dcfa3e9dd99a4491ccb6836ca8c1.tar.bz2
new config option to disable "SET NAMES UTF8" sql call
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@671 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'data')
-rw-r--r--data/config.default.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/config.default.php b/data/config.default.php
index 1b040c0..fdbdaee 100644
--- a/data/config.default.php
+++ b/data/config.default.php
@@ -180,6 +180,15 @@ $dbname = 'scuttle';
*/
$tableprefix = 'sc_';
+/*
+ * If the database needs to be switched to UTF8
+ * manually or not. If true, a "SET NAMES UTF8" query
+ * will be sent at the beginning. If you need performance,
+ * save this query and set it in your mysql server options.
+ *
+ * @var boolean
+ */
+$dbneedssetnames = true;
/***************************************************