Merge pull request #18 from dhensby/patch-typo

FIX Path to PHP cache file
This commit is contained in:
Will Rossiter 2013-05-23 03:51:47 -07:00
commit 7bbfe62883

View File

@ -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**'),