Commit 4f993a8b90380b2aff9fd10a94eafcdaa9f4192c
Merge remote-tracking branch 'origin/master'
Showing
3 changed files
with
2 additions
and
3 deletions
Show diff stats
behaviors/ImageBehavior.php
| @@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
| 27 | /** | 27 | /** |
| 28 | * @var string Image path for dummy | 28 | * @var string Image path for dummy |
| 29 | */ | 29 | */ |
| 30 | - public $dummy_path = '/images/image-not-found.png'; | 30 | + public $dummy_path = '/storage/image-not-found.png'; |
| 31 | 31 | ||
| 32 | /** | 32 | /** |
| 33 | * @inheritdoc | 33 | * @inheritdoc |
behaviors/SaveImgBehavior.php
| @@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
| 22 | /** | 22 | /** |
| 23 | * @var string Image path for dummy | 23 | * @var string Image path for dummy |
| 24 | */ | 24 | */ |
| 25 | - public $dummy_path = '/images/image-not-found.png'; | 25 | + public $dummy_path = '/storage/image-not-found.png'; |
| 26 | 26 | ||
| 27 | public function events() | 27 | public function events() |
| 28 | { | 28 | { |
components/artboximage/ArtboxImageHelper.php
| @@ -81,7 +81,6 @@ | @@ -81,7 +81,6 @@ | ||
| 81 | if (empty( $preset ) || empty( $preset_alias )) { | 81 | if (empty( $preset ) || empty( $preset_alias )) { |
| 82 | return $file; | 82 | return $file; |
| 83 | } | 83 | } |
| 84 | - | ||
| 85 | $filePath = self::getPathFromUrl($file); | 84 | $filePath = self::getPathFromUrl($file); |
| 86 | if (!file_exists($filePath) || !preg_match( | 85 | if (!file_exists($filePath) || !preg_match( |
| 87 | '#^(.*)\.(' . self::getExtensionsRegexp() . ')$#', | 86 | '#^(.*)\.(' . self::getExtensionsRegexp() . ')$#', |