From c3a65a7792b44c446b513ca2020323bea1610eb8 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 19 Jan 2006 16:51:51 +0000 Subject: [PATCH] constant already defined --- ChangeLog | 3 +++ main.php | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 11d13f25a..d89e5eca8 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2006-01-19 Marc Delisle + * main.php: already defined constant + 2006-01-19 Sebastian Mendel * pdf_schema.php, db_details_qbe.php, libraries\display_tbl.lib.php, libraries\export\htmlword.php, libraries\export\latex.php, diff --git a/main.php b/main.php index b94caa51f..554104b66 100644 --- a/main.php +++ b/main.php @@ -5,7 +5,9 @@ /** * Don't display the page heading */ -define('PMA_DISPLAY_HEADING', 0); +if (!defined('PMA_DISPLAY_HEADING')) { + define('PMA_DISPLAY_HEADING', 0); +} /** * Gets some core libraries and displays a top message if required