Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function get_thumbnail_path($return_temp = false) {
- if ($this->thumbnail_doc_id && $return_temp) {
- return Model_Document::getdownload_url($this->thumbnail_doc_id);
- }
- return $this->get_upload_path().$this->thumbnail;
- }
Add Comment
Please, Sign In to add comment