from Loic: include and require

This commit is contained in:
Marc Delisle
2002-07-25 16:46:56 +00:00
parent 67512f238f
commit c25713f777
3 changed files with 7 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ $Source$
* tbl_properties_options.php3, tbl_properties_table_info.php3: * tbl_properties_options.php3, tbl_properties_table_info.php3:
bug 586230, thanks to Lo<4C>c bug 586230, thanks to Lo<4C>c
* common.lib.php3: fix bad variable name * common.lib.php3: fix bad variable name
* tbl_indexes.php3, tbl_change.php3: fixes for PHP3 compatibility
2002-07-25 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2002-07-25 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* coding standard: common.lib.php3, config.inc.php3, Documentation.html, * coding standard: common.lib.php3, config.inc.php3, Documentation.html,

View File

@@ -7,9 +7,12 @@
*/ */
require('./libraries/grab_globals.lib.php3'); require('./libraries/grab_globals.lib.php3');
$js_to_run = 'tbl_change.js'; $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 (!empty($message)) {
if (isset($goto)) { if (isset($goto)) {
$goto_cpy = $goto; $goto_cpy = $goto;

View File

@@ -523,6 +523,6 @@ else if (!defined('PMA_IDX_INCLUDED')
echo "\n"; echo "\n";
if (!defined('PMA_IDX_INCLUDED')){ if (!defined('PMA_IDX_INCLUDED')){
require('./footer.inc.php3'); include('./footer.inc.php3');
} }
?> ?>