forked from mirrors/easyappointments
Add the X-Frame-Options header to the app
This commit is contained in:
parent
af1904679e
commit
f3a3fb047e
1 changed files with 16 additions and 0 deletions
|
@ -57,6 +57,22 @@ $route['404_override'] = '';
|
|||
|
||||
$route['translate_uri_dashes'] = FALSE;
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| FRAME OPTIONS HEADERS
|
||||
| -------------------------------------------------------------------------
|
||||
| Set the appropriate headers so that iframe control and permissions are
|
||||
| properly configured.
|
||||
|
|
||||
| Options:
|
||||
|
|
||||
| - DENY
|
||||
| - SAMEORIGIN
|
||||
|
|
||||
*/
|
||||
|
||||
header('X-Frame-Options: SAMEORIGIN');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| CORS HEADERS
|
||||
|
|
Loading…
Reference in a new issue