function _seckit_from_origin in Security Kit 7
Same name and namespace in other branches
- 6 seckit.module \_seckit_from_origin()
Sends From-Origin HTTP response header.
Implementation is based on specification draft available at http://www.w3.org/TR/from-origin.
1 call to _seckit_from_origin()
- seckit_init in ./
seckit.module - Implements hook_init().
File
- ./
seckit.module, line 664 - Allows administrators to improve security of the website.
Code
function _seckit_from_origin() {
$options = _seckit_get_options();
$value = $options['seckit_various']['from_origin_destination'];
drupal_add_http_header('From-Origin', $value);
}