[pLog-svn] r2438 - plog/branches/plog-1.0.2/class/net/http
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Fri Sep 2 19:16:45 GMT 2005
Author: oscar
Date: 2005-09-02 19:16:44 +0000 (Fri, 02 Sep 2005)
New Revision: 2438
Modified:
plog/branches/plog-1.0.2/class/net/http/httpvars.class.php
Log:
reverted r2434, it wasn't working properly.
Modified: plog/branches/plog-1.0.2/class/net/http/httpvars.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/net/http/httpvars.class.php 2005-09-01 22:25:40 UTC (rev 2437)
+++ plog/branches/plog-1.0.2/class/net/http/httpvars.class.php 2005-09-02 19:16:44 UTC (rev 2438)
@@ -272,16 +272,10 @@
} else {
$protocol = 'https://';
}
- //$host = $serverVars["HTTP_HOST"];
- $host = $serverVars["SERVER_NAME"];
+ $host = $serverVars["HTTP_HOST"];
$scriptUrl = $serverVars["PHP_SELF"];
- $port = $serverVars["SERVER_PORT"];
- if( $port == 80 || $post == 443 )
- $baseUrl = $protocol . $host . $scriptUrl;
- else
- $baseUrl = $protocol . $host . ":" . $port . $scriptUrl;
-
- return( $baseUrl );
+
+ return $protocol . $host . $scriptUrl;
}
}
?>
More information about the pLog-svn
mailing list