diff options
author | Marc Delisle <marc@infomarc.info> | 2012-03-04 15:59:57 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2012-03-04 15:59:57 +0400 |
commit | 1fa9416291aff4f3ff36269cf4b0d212ac9308f9 (patch) | |
tree | 5e8ee7db778c66a0a6c6d71db79a083ba88b8817 /import.php | |
parent | 1c50bea438ab588ba855fd41fadce85d9602bcff (diff) |
No longer depend on grab_globals.lib.php for $_GET variables
Diffstat (limited to 'import.php')
-rw-r--r-- | import.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/import.php b/import.php index 7b53e15a0e..dfdfdc6dc1 100644 --- a/import.php +++ b/import.php @@ -12,6 +12,10 @@ require_once './libraries/common.inc.php'; //require_once './libraries/display_import_functions.lib.php'; +if (isset($_REQUEST['show_as_php'])) { + $GLOBALS['show_as_php'] = $_REQUEST['show_as_php']; +} + // reset import messages for ajax request $_SESSION['Import_message']['message'] = null; $_SESSION['Import_message']['go_back_url'] = null; |