* adjust for X-Frame-Options.
This commit is contained in:
@@ -45,8 +45,9 @@ 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");
|
||||
|
||||
if(!empty($this->config->xFrameOptions)) header("X-Frame-Options: {$this->config->xFrameOptions}");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user