mirror of
https://github.com/silverstripe/silverstripe-staticpublisher
synced 2024-10-22 12:05:54 +00:00
Merge pull request #18 from dhensby/patch-typo
FIX Path to PHP cache file
This commit is contained in:
commit
7bbfe62883
@ -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…
x
Reference in New Issue
Block a user