[31469] trunk/www/includes/common.inc
jmpp at macports.org
jmpp at macports.org
Sat Nov 24 17:39:01 PST 2007
Revision: 31469
http://trac.macosforge.org/projects/macports/changeset/31469
Author: jmpp at macports.org
Date: 2007-11-24 17:39:00 -0800 (Sat, 24 Nov 2007)
Log Message:
-----------
* Some more whitespace changes, this time only in the check check_referer() function;
* relocate the portsdb related variables;
Modified Paths:
--------------
trunk/www/includes/common.inc
Modified: trunk/www/includes/common.inc
===================================================================
--- trunk/www/includes/common.inc 2007-11-25 01:32:38 UTC (rev 31468)
+++ trunk/www/includes/common.inc 2007-11-25 01:39:00 UTC (rev 31469)
@@ -6,16 +6,6 @@
# Copyright (c) 2004-2007, The MacPorts Project.
-#####################################################################
-
-# Ports database connection parameters:
-$portsdb_host = 'localhost';
-$portsdb_name = 'macports';
-$portsdb_user = 'www';
-$portsdb_passwd = '';
-$portsdb_connect = mysql_pconnect($portsdb_host, $portsdb_user, $portsdb_passwd) or die("Can't connect to the MacPorts database!");
-
-
######################################################################
# MacPorts version variables:
@@ -38,6 +28,16 @@
$guide_url = 'http://geeklair.net/new_macports_guide/';
+#####################################################################
+
+# Ports database connection parameters:
+$portsdb_host = 'localhost';
+$portsdb_name = 'macports';
+$portsdb_user = 'www';
+$portsdb_passwd = '';
+$portsdb_connect = mysql_pconnect($portsdb_host, $portsdb_user, $portsdb_passwd) or die("Can't connect to the MacPorts database!");
+
+
######################################################################
# Page header
@@ -129,13 +129,12 @@
<p>You have arrived at the <b>Official MacPorts Web Site</b> from <i>darwinports.com</i>.</p>
- <p><i>darwinports.com</i> <b>is not the official MacPorts Web Site</b>, nor is it a mirror of
- the <i>Official MacPorts Web Site</i>. There is <b>no relationship</b> between <i>The MacPorts
- Project</i> and <i>darwinports.com</i>.</p>
+ <p><i>darwinports.com</i> <b>is not the official MacPorts Web Site</b>, nor is it a mirror of the <i>Official MacPorts
+ Web Site</i>. There is <b>no relationship</b> between <i>The MacPorts Project</i> and <i>darwinports.com</i>.</p>
- <p>The information you may have been presented with on <i>darwinports.com</i> may be incorrect
- or outdated and is not endorsed in any way by <i>The MacPorts Project</i>. For the most accurate
- information about MacPorts, please bookmark this site, <a href="http://www.macports.org">http://www.macports.org</a>.</p>
+ <p>The information you may have been presented with on <i>darwinports.com</i> may be incorrect or outdated and is
+ not endorsed in any way by <i>The MacPorts Project</i>. For the most accurate information about MacPorts, please
+ bookmark this site, <a href="http://www.macports.org">http://www.macports.org</a>.</p>
</div>
<?php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071124/2227c4b1/attachment-0001.html
More information about the macports-changes
mailing list