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:
authorJo Michael <me@mynetx.net>2012-03-12 00:16:57 +0400
committerJo Michael <me@mynetx.net>2012-03-12 00:16:57 +0400
commit467a5f4b91e1a2b62c9b02b1128372749d6f4bfc (patch)
tree269426b894ad8674a6435bd36b0137cf32fb6a6c /import_status.php
parentaae81a3286e7bb59f316c5e2b763a71ff95d54d8 (diff)
$_GET and import status
Diffstat (limited to 'import_status.php')
-rw-r--r--import_status.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/import_status.php b/import_status.php
index ebe3a97356..1f0e0015a7 100644
--- a/import_status.php
+++ b/import_status.php
@@ -8,6 +8,19 @@
require_once './libraries/common.inc.php';
require_once './libraries/display_import_ajax.lib.php';
+/**
+ * Sets globals from $_GET
+ */
+$get_params = array(
+ 'message',
+ 'id'
+);
+foreach ($get_params as $one_get_param) {
+ if (isset($_GET[$one_get_param])) {
+ $GLOBALS[$one_get_param] = $_GET[$one_get_param];
+ }
+}
+
// AJAX requests can't be cached!
PMA_no_cache_header();