dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1863b71
)
Add hook CacheHeadersAfterSet to permit override of cache headers later
author
Ariel Glenn
<ariel@users.mediawiki.org>
Fri, 6 Nov 2009 10:53:51 +0000
(10:53 +0000)
committer
Ariel Glenn
<ariel@users.mediawiki.org>
Fri, 6 Nov 2009 10:53:51 +0000
(10:53 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
d1f2adf
..
8591283
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-1101,6
+1101,7
@@
class OutputPage {
$response->header( 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate' );
$response->header( 'Pragma: no-cache' );
}
+ wfRunHooks('CacheHeadersAfterSet', array( &$this ) );
}
/**