Logo Search packages:      
Sourcecode: websvn version File versions  Download package

FeedCreator::_redirect ( filename  )  [inherited]

1.4 private

Definition at line 459 of file feedcreator.class.php.

Referenced by FeedCreator::saveFeed(), and FeedCreator::useCached().

        // attention, heavily-commented-out-area
        // maybe use this in addition to file time checking
        //Header("Expires: ".date("r",time()+$this->_timeout));
        /* no caching at all, doesn't seem to work as good:
        Header("Cache-Control: no-cache");
        Header("Pragma: no-cache");
        // HTTP redirect, some feed readers' simple HTTP implementations don't follow it
        //Header("Location: ".$filename);

        Header("Content-Type: ".$this->contentType."; filename=".basename($filename));
        Header("Content-Disposition: inline; filename=".basename($filename));
        readfile($filename, "r");

Generated by  Doxygen 1.6.0   Back to index