* code for task #7799.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user