|
@@ -58,9 +58,9 @@ |
|
|
block discarded – undo |
|
58
|
58
|
$image_path = $this->lfm->setName(request('img'))->path('absolute'); |
|
59
|
59
|
$resize_path = $image_path; |
|
60
|
60
|
|
|
61
|
|
- if (! $overWrite) { |
|
|
61
|
+ if (!$overWrite) { |
|
62
|
62
|
$fileParts = explode('.', $image_name); |
|
63
|
|
- $fileParts[count($fileParts) - 2] = $fileParts[count($fileParts) - 2] . '_resized_' . time(); |
|
|
63
|
+ $fileParts[ count($fileParts) - 2 ] = $fileParts[ count($fileParts) - 2 ] . '_resized_' . time(); |
|
64
|
64
|
$resize_path = $this->lfm->setName(implode('.', $fileParts))->path('absolute'); |
|
65
|
65
|
} |
|
66
|
66
|
|
Please login to merge, or discard this patch.