Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Adriaenssens <ruleant@users.sourceforge.net>2011-09-23 02:46:58 +0400
committerDieter Adriaenssens <ruleant@users.sourceforge.net>2011-09-23 02:46:58 +0400
commitac088aaee0194f28f435b63b978db96426cda642 (patch)
tree24dbd598cce8c2d16a381f5c2cae1d8354057b3c /tbl_create.php
parentff56cbf5d901a34bc3884254f5f56ce2d2ee0ab2 (diff)
use include() instead of require() when including file conditionally
Diffstat (limited to 'tbl_create.php')
-rw-r--r--tbl_create.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tbl_create.php b/tbl_create.php
index fb9c72fc64..e60c172450 100644
--- a/tbl_create.php
+++ b/tbl_create.php
@@ -197,7 +197,7 @@ if (isset($_REQUEST['do_save_data'])) {
if ($result) {
// If comments were sent, enable relation stuff
- require_once './libraries/transformations.lib.php';
+ include_once './libraries/transformations.lib.php';
// Update comment table for mime types [MIME]
if (isset($_REQUEST['field_mimetype'])
@@ -314,13 +314,13 @@ if (isset($_REQUEST['do_save_data'])) {
// read table info on this newly created table, in case
// the next page is Structure
$reread_info = true;
- require './libraries/tbl_info.inc.php';
+ include './libraries/tbl_info.inc.php';
// do not switch to sql.php - as there is no row to be displayed on a new table
if ($cfg['DefaultTabTable'] === 'sql.php') {
- require './tbl_structure.php';
+ include './tbl_structure.php';
} else {
- require './' . $cfg['DefaultTabTable'];
+ include './' . $cfg['DefaultTabTable'];
}
exit;
} else {