From: cweiske Date: Mon, 21 Sep 2009 18:03:05 +0000 (+0000) Subject: remove dbport from default config because nobody changes that one anyway. also set... X-Git-Tag: v0.94~20 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dbb27278deb6dc784c4fcf5b49da83422235c35f;p=semanticscuttle.git 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 --- 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'; ?>