1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 23:24:04 +02:00

feat(entries): use options directory for getCacheID method

This commit is contained in:
Awilum
2021-09-05 18:09:28 +03:00
parent c7f20711f7
commit a27f69a667

View File

@@ -599,10 +599,10 @@ class Entries
$entryFile = $this->getFileLocation($id);
if (filesystem()->file($entryFile)->exists()) {
return strings('entry' . $entryFile . (filesystem()->file($entryFile)->lastModified() ?: ''))->hash()->toString();
return strings($this->options['directory'] . $entryFile . (filesystem()->file($entryFile)->lastModified() ?: ''))->hash()->toString();
}
return strings('entry' . $entryFile)->hash()->toString();
return strings($this->options['directory'] . $entryFile)->hash()->toString();
}
/**