mirror of
https://github.com/silverstripe/silverstripe-staticpublisher
synced 2024-10-22 14:05:54 +02:00
FIX Path to PHP cache file
Currently linking to the wrong dir for the CachedPHPPage.tmpl
This commit is contained in:
parent
bd19b2cc75
commit
3470e7dd22
@ -347,7 +347,7 @@ class FilesystemPublisher extends StaticPublisher {
|
||||
* @return string
|
||||
*/
|
||||
protected function generatePHPCacheFile($content, $age, $lastModified) {
|
||||
$template = file_get_contents(STATIC_MODULE_DIR . '/code/staticpublisher/CachedPHPPage.tmpl');
|
||||
$template = file_get_contents(STATIC_MODULE_DIR . '/code/CachedPHPPage.tmpl');
|
||||
|
||||
return str_replace(
|
||||
array('**MAX_AGE**', '**LAST_MODIFIED**', '**CONTENT**'),
|
||||
|
Loading…
Reference in New Issue
Block a user