From c25713f77763ef7457b3e5a239e38bf9fe5b4f2c Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 25 Jul 2002 16:46:56 +0000 Subject: [PATCH] from Loic: include and require --- ChangeLog | 1 + tbl_change.php3 | 7 +++++-- tbl_indexes.php3 | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d90612bfb..7c1648a7b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ * tbl_properties_options.php3, tbl_properties_table_info.php3: bug 586230, thanks to Loïc * common.lib.php3: fix bad variable name + * tbl_indexes.php3, tbl_change.php3: fixes for PHP3 compatibility 2002-07-25 Loïc Chapeaux * coding standard: common.lib.php3, config.inc.php3, Documentation.html, diff --git a/tbl_change.php3 b/tbl_change.php3 index 1588ed3d5..7498b5704 100755 --- a/tbl_change.php3 +++ b/tbl_change.php3 @@ -7,9 +7,12 @@ */ require('./libraries/grab_globals.lib.php3'); $js_to_run = 'tbl_change.js'; -include('./header.inc.php3'); +require('./header.inc.php3'); -// Displays the query submitted and its result + +/** + * Displays the query submitted and its result + */ if (!empty($message)) { if (isset($goto)) { $goto_cpy = $goto; diff --git a/tbl_indexes.php3 b/tbl_indexes.php3 index cf24af7fa..ea57959e1 100644 --- a/tbl_indexes.php3 +++ b/tbl_indexes.php3 @@ -523,6 +523,6 @@ else if (!defined('PMA_IDX_INCLUDED') echo "\n"; if (!defined('PMA_IDX_INCLUDED')){ - require('./footer.inc.php3'); + include('./footer.inc.php3'); } ?>