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-06 23:48:05 +0400
committerDieter Adriaenssens <ruleant@users.sourceforge.net>2011-09-06 23:48:05 +0400
commita30554b1e4e5a0b6a048b4dfe12dfbeb45321c37 (patch)
treef0c7199483888c157df40fe35a04be851cf8ee3f /schema_export.php
parenta1c9a65994630a28f76a08d86d498ef0493539eb (diff)
use require() instead of include() when including file unconditionally
Diffstat (limited to 'schema_export.php')
-rw-r--r--schema_export.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/schema_export.php b/schema_export.php
index 30384e861e..e566c7c416 100644
--- a/schema_export.php
+++ b/schema_export.php
@@ -21,7 +21,7 @@ $cfgRelation = PMA_getRelationsParam();
require_once './libraries/transformations.lib.php';
require_once './libraries/Index.class.php';
-include_once "./libraries/schema/Export_Relation_Schema.class.php";
+require_once "./libraries/schema/Export_Relation_Schema.class.php";
/**
* get all the export options and verify
@@ -38,5 +38,5 @@ $path = PMA_securePath(ucfirst($export_type));
if (!file_exists('./libraries/schema/' . $path . '_Relation_Schema.class.php')) {
PMA_Export_Relation_Schema::dieSchema($_POST['chpage'],$export_type,__('File doesn\'t exist'));
}
-include "./libraries/schema/".$path."_Relation_Schema.class.php";
+require "./libraries/schema/".$path."_Relation_Schema.class.php";
$obj_schema = eval("new PMA_".$path."_Relation_Schema();");