Use more require_once to avoid acquiring table info several times.

This commit is contained in:
Michal Čihař
2005-10-08 18:14:09 +00:00
parent 0e213027cd
commit 3649d901ec
11 changed files with 33 additions and 31 deletions

View File

@@ -210,18 +210,18 @@ if ($abort == FALSE) {
/**
* Gets tables informations
*/
require('./tbl_properties_common.php');
require('./tbl_properties_table_info.php');
require_once('./tbl_properties_common.php');
require_once('./tbl_properties_table_info.php');
/**
* Displays top menu links
*/
$active_page = 'tbl_properties_structure.php';
require('./tbl_properties_links.php');
require_once('./tbl_properties_links.php');
/**
* Display the form
*/
$action = 'tbl_addfield.php';
require('./tbl_properties.inc.php');
require_once('./tbl_properties.inc.php');
// Diplays the footer
echo "\n";