header.inc.php3: Don't allow including this file twice.

This commit is contained in:
Michal Čihař
2003-08-05 16:56:50 +00:00
parent 38aeb84c79
commit 54db701f8b
2 changed files with 153 additions and 148 deletions

View File

@@ -12,6 +12,7 @@ $Source$
* libraries/display_export.lib.php3, libraries/export/csv.php3,
libraries/config_import.lib.php3, config.inc.php3: Allow column headers
for Excel export (bug #771299).
* header.inc.php3: Don't allow including this file twice.
2003-08-05 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser.data.php3: bug 779453, wrong count

View File

@@ -2,6 +2,9 @@
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
if (!defined('PMA_HEADER_INC_INCLUDED')) {
define('PMA_HEADER_INC_INCLUDED', 1);
/**
* Gets a core script and starts output buffering work
*/
@@ -155,4 +158,5 @@ echo "\n";
* Sets a variable to remember headers have been sent
*/
$GLOBALS['is_header_sent'] = TRUE;
} // PMA_HEADER_INC_INCLUDED
?>