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:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user