[pLog-svn] r6975 - plog/branches/lifetype-1.2/class/net/http
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu Feb 4 16:54:45 EST 2010
Author: jondaley
Date: 2010-02-04 16:54:45 -0500 (Thu, 04 Feb 2010)
New Revision: 6975
Modified:
plog/branches/lifetype-1.2/class/net/http/subdomains.class.php
Log:
clarified comment
Modified: plog/branches/lifetype-1.2/class/net/http/subdomains.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/http/subdomains.class.php 2010-02-03 14:39:07 UTC (rev 6974)
+++ plog/branches/lifetype-1.2/class/net/http/subdomains.class.php 2010-02-04 21:54:45 UTC (rev 6975)
@@ -27,7 +27,6 @@
$server = HttpVars::getServer();
$httpHost = $server["HTTP_HOST"];
$result = $lp->parseLink( $httpHost );
-
return( $result );
}
@@ -54,7 +53,7 @@
$config =& Config::getConfig();
$baseUrlObject = new Url( $config->getValue( "base_url" ));
- // ignore "www." prefixes - that doesn't make it a subdomain
+ // ignore "www." prefixes - that doesn't necessarily make it a subdomain
$base = preg_replace("/^www./", "", $baseUrlObject->getHost());
$current = preg_replace("/^www./", "", $urlObject->getHost());
More information about the pLog-svn
mailing list