[pLog-svn] r597 - plog/trunk

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Dec 29 13:22:18 GMT 2004


Author: oscar
Date: 2004-12-29 13:22:18 +0000 (Wed, 29 Dec 2004)
New Revision: 597

Modified:
   plog/trunk/wizard.php
Log:
now the wizard will detect if we're using http:// or https://, thanks benjamin for the fix :)

Modified: plog/trunk/wizard.php
===================================================================
--- plog/trunk/wizard.php	2004-12-29 13:14:21 UTC (rev 596)
+++ plog/trunk/wizard.php	2004-12-29 13:22:18 UTC (rev 597)
@@ -820,6 +820,8 @@
             $httpHost = $_SERVER["HTTP_HOST"];
             $requestUrl = $_SERVER["REQUEST_URI"];
             $requestUrl = str_replace( "/wizard.php", "", $requestUrl );
+			$server = HttpVars::getServer();
+			$plogUrl = ($server["HTTPS"] == "on" ) ? "https://" : "http://";
             $plogUrl = "http://".$httpHost.$requestUrl;
 
             // Find some of the tools we are going to need (last one is for os x, with fink installed)




More information about the pLog-svn mailing list