diff options
author | Lakshay arora <arora.lakshya123@gmail.com> | 2018-06-23 14:10:16 +0300 |
---|---|---|
committer | Lakshay arora <arora.lakshya123@gmail.com> | 2018-06-24 11:51:24 +0300 |
commit | 61163cd14bdf3fad70dea481d38440b8768afa88 (patch) | |
tree | 39df31619f567ce9ea057850df92f788cec25eaa /libraries/config.default.php | |
parent | ec4911d20c7469f785703668b102b531c95d00ce (diff) |
Add configuration setting to toggle drag drop file Import
This commit-
Adds a configuration directive to toggle drag drop Import feature as requested in #13155
TODO:
1. Test it on multiple servers.
2. Disable javascript handlers for drag drop
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
Diffstat (limited to 'libraries/config.default.php')
-rw-r--r-- | libraries/config.default.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libraries/config.default.php b/libraries/config.default.php index bf62018660..31a8bf5d28 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -2180,6 +2180,14 @@ $cfg['Import']['charset'] = ''; $cfg['Import']['allow_interrupt'] = true; /** + * Enable drag and drop import + * @see feature request : https://github.com/phpmyadmin/phpmyadmin/issues/13155 + * + * @global bool $cfg['Import']['enable_drag_drop_import'] + */ +$cfg['Import']['enable_drag_drop_import'] = true; + +/** * * * @global integer $cfg['Import']['skip_queries'] |