@@ 2464-2464 (lines=1) @@ | ||
2461 | { |
|
2462 | ||
2463 | // *** Perform a check or two. |
|
2464 | if (!is_resource($this->imageResized)) { if ($this->debug) { throw new Exception('saveImage: This is not a resource.'); }else{ throw new Exception(); }} |
|
2465 | $fileInfoArray = pathinfo($savePath); |
|
2466 | clearstatcache(); |
|
2467 | if (!is_writable($fileInfoArray['dirname'])) { if ($this->debug) { throw new Exception('The path is not writable. Please check your permissions.'); }else{ throw new Exception(); }} |
|
@@ 2539-2539 (lines=1) @@ | ||
2536 | # |
|
2537 | { |
|
2538 | ||
2539 | if (!is_resource($this->imageResized)) { if ($this->debug) { throw new Exception('saveImage: This is not a resource.'); }else{ throw new Exception(); }} |
|
2540 | ||
2541 | switch($fileType) |
|
2542 | { |