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:
parent
6bc2259139
commit
a5b8bad725
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue