Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
2b6e2c1a
Commit
2b6e2c1a
authored
Dec 06, 2012
by
Jennifer Hodgdon
Browse files
Issue
#1853050
by Jerenus: Fix up docs for drupal_send_headers()
parent
adccec53
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/bootstrap.inc
View file @
2b6e2c1a
...
@@ -1246,10 +1246,11 @@ function _drupal_set_preferred_header_name($name = NULL) {
...
@@ -1246,10 +1246,11 @@ function _drupal_set_preferred_header_name($name = NULL) {
* Headers are set in drupal_add_http_header(). Default headers are not set
* Headers are set in drupal_add_http_header(). Default headers are not set
* if they have been replaced or unset using drupal_add_http_header().
* if they have been replaced or unset using drupal_add_http_header().
*
*
* @param $default_headers
* @param array $default_headers
* An array of headers as name/value pairs.
* (optional) An array of headers as name/value pairs.
* @param $single
* @param bool $only_default
* If TRUE and headers have already be sent, send only the specified header.
* (optional) If TRUE and headers have already been sent, send only the
* specified headers.
*/
*/
function
drupal_send_headers
(
$default_headers
=
array
(),
$only_default
=
FALSE
)
{
function
drupal_send_headers
(
$default_headers
=
array
(),
$only_default
=
FALSE
)
{
$headers_sent
=
&
drupal_static
(
__FUNCTION__
,
FALSE
);
$headers_sent
=
&
drupal_static
(
__FUNCTION__
,
FALSE
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment