From: <sy...@us...> - 2011-02-28 20:51:47
|
Revision: 33157 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=33157&view=rev Author: sylvieg Date: 2011-02-28 20:51:41 +0000 (Mon, 28 Feb 2011) Log Message: ----------- [bp/r33156]notice Modified Paths: -------------- branches/proposals/6.x/lib/setup/absolute_urls.php Modified: branches/proposals/6.x/lib/setup/absolute_urls.php =================================================================== --- branches/proposals/6.x/lib/setup/absolute_urls.php 2011-02-28 20:46:30 UTC (rev 33156) +++ branches/proposals/6.x/lib/setup/absolute_urls.php 2011-02-28 20:51:41 UTC (rev 33157) @@ -54,7 +54,7 @@ if ( isset($_REQUEST['stay_in_ssl_mode_present']) || isset($_REQUEST['stay_in_ssl_mode']) ) { // We stay in HTTPS / SSL mode if 'stay_in_ssl_mode' has an 'y' or 'on' value - $stay_in_ssl_mode = ( $_REQUEST['stay_in_ssl_mode'] == 'y' || $_REQUEST['stay_in_ssl_mode'] == 'on' ) ? 'y' : 'n'; + $stay_in_ssl_mode = ( (isset($_REQUEST['stay_in_ssl_mode']) && $_REQUEST['stay_in_ssl_mode'] == 'y') || (isset($_REQUEST['stay_in_ssl_mode']) && $_REQUEST['stay_in_ssl_mode'] == 'on' ) ? 'y' : 'n'; } else { // Set default value of 'stay_in_ssl_mode' to the current mode state $stay_in_ssl_mode = $https_mode ? 'y' : 'n'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |