Send the last-modified header with the view action

This commit is contained in:
Starbeamrainbowlabs 2017-06-18 14:54:52 +01:00
parent 6bc2259139
commit a5b8bad725
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ register_module([
}
}
header("last-modified: " . gmdate('D, d M Y H:i:s T', $pageindex->{$env->page}->lastmodified));
// Perform a redirect if the requested page is a redirect page
if(isset($pageindex->$page->redirect) &&
$pageindex->$page->redirect === true)