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
		);
	}
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
		);
	}
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 ) ; }
Append a redirect action to the render queue.

If $location does not start with "http", the dachi.baseURL configuration value will be prepended

@param  string $location The location to redirect to
@return null
Append a redirect action to the render queue .