src/Ivliev/Imagefly/Imagefly.php
private function _serve_file()
    {
        // Set either the source or cache file as our datasource
        if ($this->serve_default) {
            $file_data = $this->source_file;
        } else {
            $file_data = $this->cached_file;
        }
        
        // Output the file
        $this->_output_file($file_data);
    }
private function _serve_file()
    {
        // Set either the source or cache file as our datasource
        if ($this->serve_default) {
            $file_data = $this->source_file;
        } else {
            $file_data = $this->cached_file;
        }
        
        // Output the file
        $this->_output_file($file_data);
    }
private function _serve_file ( ) { // Set either the source or cache file as our datasource if ( $ this -> serve_default ) { $ file_data = $ this -> source_file ; } else { $ file_data = $ this -> cached_file ; } // Output the file $ this -> _output_file ( $ file_data ) ; }
Decide which filesource we are using and serve
Decide which filesource we are using and serve