Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Dec 29, 2019
1 parent 43c280c commit 7e31094
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions image/engine/r/hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ function crop($image, array $lot = []) {
if (!$lot || !$image || !\is_string($image)) {
return $image;
}
// Prevent multiple hook fire
if (0 === \strpos($image, \To::URL(\LOT) . '/asset/.cache/')) {
return $image;
}
$w = \ceil($lot[0]);
$h = \ceil($lot[1] ?? $w);
$q = $lot[2] ?? null;
Expand Down

0 comments on commit 7e31094

Please sign in to comment.