Source
1087 $keys = array_keys($this->chosenTemplates);
1088 $key = reset($keys);
1089 $template = $this->chosenTemplates[$key];
1090 }
1091
1092 $cacheFile = TEMP_FOLDER . "/.cache"
1093 . str_replace(array('\\','/',':'), '.', Director::makeRelative(realpath($template)));
1094 $lastEdited = filemtime($template);
1095
1096 if(!file_exists($cacheFile) || filemtime($cacheFile) < $lastEdited) {
1097 $content = file_get_contents($template);
1098 $content = $this->parseTemplateContent($content, $template);
1099
1100 $fh = fopen($cacheFile,'w');
1101 fwrite($fh, $content);
1102 fclose($fh);
Trace
- filemtime(/usr/home/suttonkersh/dev_html/silverstripe-cache/suttonkersh/.cache.themes.sk.templates.Includes.BidRegistrationFooter2.ss)
SSViewer.php:1096
- SSViewer->process(ViewableData_Customised,Array,SSViewer_DataPresenter)
SSViewer.php:1158
- SSViewer::execute_template(BidRegistrationFooter2,ViewableData_Customised,Array,SSViewer_DataPresenter)
.cache.themes.sk.templates.Footer.ss:302
- include(/usr/home/suttonkersh/dev_html/silverstripe-cache/suttonkersh/.cache.themes.sk.templates.Footer.ss)
SSViewer.php:1059
- SSViewer->includeGeneratedTemplate(/usr/home/suttonkersh/dev_html/silverstripe-cache/suttonkersh/.cache.themes.sk.templates.Footer.ss,ViewableData_Customised,Array,Array,SSViewer_DataPresenter)
SSViewer.php:1119
- SSViewer->process(ViewableData_Customised,Array,SSViewer_DataPresenter)
SSViewer.php:1158
- SSViewer::execute_template(Footer,ViewableData_Customised,Array,SSViewer_DataPresenter)
.cache.themes.sk.templates.Page.ss:11
- include(/usr/home/suttonkersh/dev_html/silverstripe-cache/suttonkersh/.cache.themes.sk.templates.Page.ss)
SSViewer.php:1059
- SSViewer->includeGeneratedTemplate(/usr/home/suttonkersh/dev_html/silverstripe-cache/suttonkersh/.cache.themes.sk.templates.Page.ss,ViewableData_Customised,,Array,)
SSViewer.php:1119
- SSViewer->process(ViewableData_Customised,)
ViewableData.php:341
- ViewableData->renderWith(Array)
Properties.php:207
- Properties_Controller->lot(SS_HTTPRequest)
RequestHandler.php:288
- RequestHandler->handleAction(SS_HTTPRequest,lot)
Controller.php:200
- Controller->handleAction(SS_HTTPRequest,lot)
RequestHandler.php:200
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:157
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:198
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:78
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:385
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:149
- Director::direct(/properties/lot/20833,DataModel)
main.php:184