FIX Path to PHP cache file

Currently linking to the wrong dir for the CachedPHPPage.tmpl
This commit is contained in:
Daniel Hensby 2013-05-23 10:44:11 +01:00
parent bd19b2cc75
commit 3470e7dd22

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