| @@ 243-247 (lines=5) @@ | ||
| 240 | $this->_save_image = "{$this->_save_path}/{$savefile}"; |
|
| 241 | ||
| 242 | if ($this->img_update == 0 && file_exists($this->_save_image)) { |
|
| 243 | if ($this->_return_fullpath == 1) { |
|
| 244 | return $this->_source_url . "/{$this->_img_savepath}/{$savefile}"; |
|
| 245 | } else { |
|
| 246 | return "{$this->_img_savepath}/{$savefile}"; |
|
| 247 | } |
|
| 248 | } |
|
| 249 | ||
| 250 | switch ($this->_image_type) { |
|
| @@ 357-361 (lines=5) @@ | ||
| 354 | default: |
|
| 355 | return false; |
|
| 356 | } |
|
| 357 | if ($this->_return_fullpath == 1) { |
|
| 358 | return $this->_source_url . "/{$this->_img_savepath}/{$savefile}"; |
|
| 359 | } else { |
|
| 360 | return "{$this->_img_savepath}/{$savefile}"; |
|
| 361 | } |
|
| 362 | break; |
|
| 363 | } |
|
| 364 | // return FALSE; |
|