mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +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