* code for task #7799.

This commit is contained in:
z
2020-09-08 13:50:08 +08:00
parent f4bdb1e553
commit c2c14a88c9
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ class commonModel extends model
public function sendHeader()
{
header("Content-Type: text/html; Language={$this->config->charset}");
header("X-Frame-Options: SAMEORIGIN");
header("Cache-control: private");
}
+4
View File
@@ -30,6 +30,10 @@ php_value display_errors 1
php_value max_input_vars 100000
</IfModule>
<IfModule mod_headers.c>
Header always append X-Frame-Options SAMEORIGIN
</IfModule>
# yslow settings.
<IfModule mod_expires.c>
ExpiresActive On
+4
View File
@@ -26,6 +26,10 @@ php_value display_errors 1
php_value max_input_vars 100000
</IfModule>
<IfModule mod_headers.c>
Header always append X-Frame-Options SAMEORIGIN
</IfModule>
# yslow settings.
<IfModule mod_expires.c>
ExpiresActive On