Location: PHPKode > scripts > Genghis > bobthecow-genghis-0d47062/src/php/Genghis/RedirectResponse.php
<?php

class Genghis_RedirectResponse extends Genghis_Response
{
    public function __construct($url, $status = 301)
    {
        parent::__construct($url, $status);
    }

    public function render()
    {
        header(sprintf('Location: %s', $this->data), $this->status);
    }
}
Return current item: Genghis