diff options
author | Jo Michael <me@mynetx.net> | 2012-03-12 00:16:57 +0400 |
---|---|---|
committer | Jo Michael <me@mynetx.net> | 2012-03-12 00:16:57 +0400 |
commit | 467a5f4b91e1a2b62c9b02b1128372749d6f4bfc (patch) | |
tree | 269426b894ad8674a6435bd36b0137cf32fb6a6c /import_status.php | |
parent | aae81a3286e7bb59f316c5e2b763a71ff95d54d8 (diff) |
$_GET and import status
Diffstat (limited to 'import_status.php')
-rw-r--r-- | import_status.php | 13 |
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(); |