/** * Returns a local copy of the file * * @return mixed */ public function get_local_copy() { $location = Assets_helper::get_temp_file(); $this->source->download_file($this->subpath, $location); return $location; }
/** * Returns a local copy of the file * * @return mixed */ public function get_local_copy() { $location = Assets_helper::get_temp_file(); $this->source->download_file($this->subpath, $location); return $location; }