lib/Minify/Cache/File.php
public function display($id)
    {
        if (!$this->locking) {
            readfile($this->path . '/' . $id);

            return;
        }

        $fp = fopen($this->path . '/' . $id, 'rb');
        flock($fp, LOCK_SH);
        fpassthru($fp);
        flock($fp, LOCK_UN);
        fclose($fp);
    }
public function display($id)
    {
        if (!$this->locking) {
            readfile($this->path . '/' . $id);

            return;
        }

        $fp = fopen($this->path . '/' . $id, 'rb');
        flock($fp, LOCK_SH);
        fpassthru($fp);
        flock($fp, LOCK_UN);
        fclose($fp);
    }
public function display ( $ id ) { if ( ! $ this -> locking ) { readfile ( $ this -> path . '/' . $ id ) ; return ; } $ fp = fopen ( $ this -> path . '/' . $ id , 'rb' ) ; flock ( $ fp , LOCK_SH ) ; fpassthru ( $ fp ) ; flock ( $ fp , LOCK_UN ) ; fclose ( $ fp ) ; }
Send the cached content to output

@param string $id cache id (e.g. a filename)
Send the cached content to output