avoid sending headers twice
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
// vim: expandtab sw=4 ts=4 sts=4:
|
// vim: expandtab sw=4 ts=4 sts=4:
|
||||||
|
|
||||||
|
if (empty($GLOBALS['is_header_sent'])) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a core script and starts output buffering work
|
* Gets a core script and starts output buffering work
|
||||||
*/
|
*/
|
||||||
@@ -151,5 +153,6 @@ echo "\n";
|
|||||||
* Sets a variable to remember headers have been sent
|
* Sets a variable to remember headers have been sent
|
||||||
*/
|
*/
|
||||||
$GLOBALS['is_header_sent'] = TRUE;
|
$GLOBALS['is_header_sent'] = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user