add cache control header to regen_thumb output, in the hope of refreshing the cached thumb image

git-svn-id: file:///home/shish/svn/shimmie2/trunk@124 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-21 23:52:19 +00:00
parent 4f849016ba
commit d0b92590d8

View File

@ -50,6 +50,7 @@ class RegenThumb extends Extension {
global $page; global $page;
$page->set_title("Thumbnail Regenerated"); $page->set_title("Thumbnail Regenerated");
$page->set_heading("Thumbnail Regenerated"); $page->set_heading("Thumbnail Regenerated");
$page->add_header("<meta http-equiv=\"cache-control\" content=\"no-cache\">");
$page->add_side_block(new NavBlock()); $page->add_side_block(new NavBlock());
$page->add_main_block(new Block("Thumbnail", build_thumb_html($image))); $page->add_main_block(new Block("Thumbnail", build_thumb_html($image)));
} }