[30040] trunk/www/includes/common.inc
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 18 15:31:50 PDT 2007
Revision: 30040
http://trac.macosforge.org/projects/macports/changeset/30040
Author: jmpp at macports.org
Date: 2007-10-18 15:31:50 -0700 (Thu, 18 Oct 2007)
Log Message:
-----------
Use a sole 'macports' db for portfile information (and a persistent connection to it)
now that we don't need a separate db (which I admit could have been just a table of a
unified db) for the project news (we'll be relying on Wordpress blogging for this).
Modified Paths:
--------------
trunk/www/includes/common.inc
Modified: trunk/www/includes/common.inc
===================================================================
--- trunk/www/includes/common.inc 2007-10-18 21:56:14 UTC (rev 30039)
+++ trunk/www/includes/common.inc 2007-10-18 22:31:50 UTC (rev 30040)
@@ -8,11 +8,11 @@
#####################################################################
# Ports database connection parameters:
-$portsdb = 'macports_ports';
+$portsdb = 'macports';
$portsdb_host = 'localhost';
$portsdb_user = 'www';
$portsdb_passwd = '';
-$portsdb_connect = mysql_connect($portsdb_host, $portsdb_user, $portsdb_passwd) or die("Can't connect to the ports database!");
+$portsdb_connect = mysql_pconnect($portsdb_host, $portsdb_user, $portsdb_passwd) or die("Can't connect to the MacPorts database!");
######################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071018/40a160c3/attachment.html
More information about the macports-changes
mailing list