1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

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

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)