summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-21 18:03:05 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-21 18:03:05 +0000
commitdbb27278deb6dc784c4fcf5b49da83422235c35f (patch)
treecfc2ad13c88299a22dd27cdbace454f48eee8396
parent4312a23bd15e24fb22b9f03a860cbdeb74cdf624 (diff)
downloadsemanticscuttle-dbb27278deb6dc784c4fcf5b49da83422235c35f.tar.gz
semanticscuttle-dbb27278deb6dc784c4fcf5b49da83422235c35f.tar.bz2
remove dbport from default config because nobody changes that one anyway. also set default host to localhost instead of 127.0.0.1 to allow socket connections (till said ip forces tcp)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@364 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--config.default.inc.php9
-rw-r--r--config.inc.php.dist9
2 files changed, 7 insertions, 11 deletions
diff --git a/config.default.inc.php b/config.default.inc.php
index 9ee2023..ec2be20 100644
--- a/config.default.inc.php
+++ b/config.default.inc.php
@@ -137,14 +137,17 @@ $dbtype = 'mysql4';
*
* @var string
*/
-$dbhost = '127.0.0.1';
+$dbhost = 'localhost';
/**
- * Database port
+ * Database port.
+ *
+ * When using mysqli, leave this to null
+ * - connecting will fail otherwise.
*
* @var string|integer
*/
-$dbport = 3306;
+$dbport = null;
/**
* Database username
diff --git a/config.inc.php.dist b/config.inc.php.dist
index f75876e..2615bc6 100644
--- a/config.inc.php.dist
+++ b/config.inc.php.dist
@@ -101,13 +101,6 @@ $dbname = 'scuttle';
*
* @var string
*/
-$dbhost = '127.0.0.1';
-
-/**
- * Database port
- *
- * @var string|integer
- */
-$dbport = 3306;
+$dbhost = 'localhost';
?>