[evolvis-commits] r11328: added configuration variable to support SSL requests↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 18:07:45 CET 2011


Author: mirabilos
Date: 2011-02-24 18:07:45 +0100 (Thu, 24 Feb 2011)
New Revision: 11328

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge-plugin-cvstracker/bin/post.php
   trunk/gforge_base/evolvisforge-5.1/gforge-plugin-cvstracker/etc/plugins/cvstracker/config.php
Log:
added configuration variable to support SSL requests


Modified: trunk/gforge_base/evolvisforge-5.1/gforge-plugin-cvstracker/bin/post.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge-plugin-cvstracker/bin/post.php	2011-02-24 17:07:44 UTC (rev 11327)
+++ trunk/gforge_base/evolvisforge-5.1/gforge-plugin-cvstracker/bin/post.php	2011-02-24 17:07:45 UTC (rev 11328)
@@ -167,7 +167,7 @@
 // Our POSTer in Gforge
 $snoopy = new Snoopy;
 
-if (strtoupper(getStringFromServer('HTTPS')) == 'ON') {
+if (strtoupper($use_ssl) == 'YES') {
 	$http = "https://";
 } else {
 	$http = "http://";

Modified: trunk/gforge_base/evolvisforge-5.1/gforge-plugin-cvstracker/etc/plugins/cvstracker/config.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge-plugin-cvstracker/etc/plugins/cvstracker/config.php	2011-02-24 17:07:44 UTC (rev 11327)
+++ trunk/gforge_base/evolvisforge-5.1/gforge-plugin-cvstracker/etc/plugins/cvstracker/config.php	2011-02-24 17:07:45 UTC (rev 11328)
@@ -1,5 +1,6 @@
 <?php
 
+$use_ssl = "yes"; //whether to use SSL or standard HTTP
 $sys_default_domain = "trialgforge.org";
 $sys_plugins_path = "/opt/gforge/gforge/plugins/";
 $sys_cvsroot_path = $cvsdir_prefix;



More information about the evolvis-commits mailing list