/** * Get photo will copy the photo to a temporary file. * */ public function getPhoto($filename) { if (strpos($filename, '/original/') === false) { return parent::getPhoto($filename); } else { return $this->archiveOrg->fs->getPhoto($filename); } }
/** * Get photo will copy the photo to a temporary file. * */ public function getPhoto($filename) { return parent::getPhoto($filename); }