public function forceSsl($type) {
		$host = env('SERVER_NAME');
		if (empty($host)) {
			$host = env('HTTP_HOST');
		}
		if ('secure' == $type) {
			$this->redirect('https://' . $host . $this->here);
		}
	}
public function forceSsl($type) {
		$host = env('SERVER_NAME');
		if (empty($host)) {
			$host = env('HTTP_HOST');
		}
		if ('secure' == $type) {
			$this->redirect('https://' . $host . $this->here);
		}
	}
public function forceSsl ( $ type ) { $ host = env ( 'SERVER_NAME' ) ; if ( empty ( $ host ) ) { $ host = env ( 'HTTP_HOST' ) ; } if ( 'secure' == $ type ) { $ this -> redirect ( 'https://' . $ host . $ this -> here ) ; } }
Blackhole callback for the `SecurityComponent`.

- Automatically redirect secured requests to HTTPS.

@param  string $type The type of blackhole.
@return void
Blackhole callback for the SecurityComponent .