Skip to content

Commit

Permalink
relative paths instead of absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Oct 25, 2024
1 parent d32ba86 commit 397694e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 397694e

Please sign in to comment.