public static function redirect($location, $soft = false) {
		if(substr($location, 0, 4) !== "http")
			$location = Configuration::get("dachi.baseURL") . $location;

		self::$render_actions[] = array(
			"type"     => "redirect",
			"location" => $location,
			"soft"     => $soft
		);
	}