From 7e3109425d722fa3dbceec3d3d7bd9da872b293a Mon Sep 17 00:00:00 2001 From: Taufik Nurrohman Date: Sun, 29 Dec 2019 21:43:58 +0700 Subject: [PATCH] Update --- image/engine/r/hook.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/image/engine/r/hook.php b/image/engine/r/hook.php index c1043bd..f688b58 100644 --- a/image/engine/r/hook.php +++ b/image/engine/r/hook.php @@ -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;