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 275Line 269
	*/
public function file($form_name)
{

	*/
public function file($form_name)
{

		return $this->variable($form_name, array('name' => 'none'), false, \phpbb\request\request_interface::FILES);

		return $this->variable($form_name, array('name' => 'none'), true, \phpbb\request\request_interface::FILES);

	}

/**

	}

/**

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';

	}

/**

	}

/**