Skip to content

Commit

Permalink
Merge pull request #18 from dhensby/patch-typo
Browse files Browse the repository at this point in the history
FIX Path to PHP cache file
  • Loading branch information
wilr committed May 23, 2013
2 parents 1c40f4d + 3470e7d commit 7bbfe62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/extensions/FilesystemPublisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public function publishPages($urls) {
* @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**'),
Expand Down

0 comments on commit 7bbfe62

Please sign in to comment.