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