src build elFinder-2.1-0476faa

This commit is contained in:
nao-pon
2015-11-23 01:37:07 +09:00
parent 1439891907
commit 7e2470ff5c
7 changed files with 20 additions and 10 deletions
+1 -2
View File
@@ -182,8 +182,7 @@ class elFinderVolumeDropbox extends elFinderVolumeDriver {
// get customdata
$cdata = '';
$innerKeys = array('cmd', 'host', 'options', 'pass', 'protocol', 'user');
$post = (strtolower($_SERVER['REQUEST_METHOD']) === 'post')? $_POST : $_GET;
foreach($post as $k => $v) {
foreach($this->ARGS as $k => $v) {
if (! in_array($k, $innerKeys)) {
$cdata .= '&' . $k . '=' . rawurlencode($v);
}