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:
authorDurgesh <007durgesh219@gmail.com>2016-02-19 16:33:11 +0300
committerDurgesh <007durgesh219@gmail.com>2016-02-22 12:06:41 +0300
commit0b64827930ef5232149ea211647cb7c95719d2d5 (patch)
tree3964cdd12cb0d00e6d9987ecfe35f9e92498ec56 /export.php
parentb8c39d413de690e2cffbca9926dbf768ee076b83 (diff)
Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
Diffstat (limited to 'export.php')
-rw-r--r--export.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/export.php b/export.php
index c88f6c89f6..c3d38ce57a 100644
--- a/export.php
+++ b/export.php
@@ -6,6 +6,7 @@
* @package PhpMyAdmin
*/
use PMA\libraries\plugins\ExportPlugin;
+use PMA\libraries\URL;
/**
* Get the variables sent or posted to this script and a core script
@@ -254,11 +255,11 @@ if (!defined('TESTSUITE')) {
// Generate error url and check for needed variables
if ($export_type == 'server') {
- $err_url = 'server_export.php' . PMA_URL_getCommon();
+ $err_url = 'server_export.php' . URL::getCommon();
} elseif ($export_type == 'database'
&& mb_strlen($db)
) {
- $err_url = 'db_export.php' . PMA_URL_getCommon(array('db' => $db));
+ $err_url = 'db_export.php' . URL::getCommon(array('db' => $db));
// Check if we have something to export
if (isset($table_select)) {
$tables = $table_select;
@@ -268,7 +269,7 @@ if (!defined('TESTSUITE')) {
} elseif ($export_type == 'table' && mb_strlen($db)
&& mb_strlen($table)
) {
- $err_url = 'tbl_export.php' . PMA_URL_getCommon(
+ $err_url = 'tbl_export.php' . URL::getCommon(
array(
'db' => $db, 'table' => $table
)