public function redirect ($to)
	{
		if (is_array($to)) {
			$to = join('/', $to);
		}

		$uri = $this->base_uri;

		if ('http://'  != substr($to, 0, 7) &&
			'https://' != substr($to, 0, 8)) {
			if ($to[0] != '/' && $uri[strlen($uri) - 1] != '/') {
				$to = '/' . $to;
			}

			$to = join('', [$this->base_uri, $to]);
		}

		header('Location: ' . $to);
		exit;
	}