phpBB

Code Changes

File: phpbb/request/request.php

  Unmodified   Added   Modified   Removed
Line 168Line 168
			{
$GLOBALS[$this->super_globals[$super_global]][$var_name] = $value;
}

			{
$GLOBALS[$this->super_globals[$super_global]][$var_name] = $value;
}

		}

if (!$this->super_globals_disabled())
{
unset($GLOBALS[$this->super_globals[$super_global]][$var_name]);
$GLOBALS[$this->super_globals[$super_global]][$var_name] = $value;

 
		}
}


		}
}


Line 325Line 319
	*/
public function is_secure()
{

	*/
public function is_secure()
{

		return $this->server('HTTPS') == 'on';



		$https = $this->server('HTTPS');
$https = $this->server('HTTP_X_FORWARDED_PROTO') === 'https' ? 'on' : $https;
return !empty($https) && $https !== 'off';

	}

/**

	}

/**