summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-12 14:14:11 +0400
committerAndrew Dolgov <[email protected]>2013-04-12 14:14:11 +0400
commitbb399c62712cfe99503d7d92bbeb8afef1c10918 (patch)
tree769ccbfc7307c65cb8f0dc537fa2e4490569e674 /include
parentb68a266a734193dfeee8d9f52b9888b2798eb50c (diff)
add cache-control: public to the login page so that firefox would bother making a thumbnail
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 31a4c1f2d..f5685b89a 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2925,6 +2925,8 @@
}
function render_login_form($link) {
+ header('Cache-Control: public');
+
require_once "login_form.php";
exit;
}