From 397694ee54c60cf97dc3d5db6419ce1db0e73d16 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Fri, 25 Oct 2024 11:23:38 +0100 Subject: [PATCH] relative paths instead of absolute --- Image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Image.php b/Image.php index a3dccc6..f6964bf 100644 --- a/Image.php +++ b/Image.php @@ -527,10 +527,10 @@ public function serializeOperations() */ public function generateHash($type = 'guess', $quality = 80) { - $inputInfos = $this->source->getInfos(); + $inputRelativePath = substr($this->source->getInfos(), strlen(getcwd()) + 1); $datas = array( - $inputInfos, + inputRelativePath, $this->serializeOperations(), $type, $quality,