src build elFinder-2.0-7e444dc

This commit is contained in:
nao-pon
2016-07-11 18:02:35 +09:00
parent a2ee42e9ed
commit 306f29b86a
7 changed files with 28 additions and 21 deletions
@@ -784,6 +784,9 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
$cwd = getcwd();
chdir($dir);
foreach($files as $i => $file) {
$files[$i] = '.'.DIRECTORY_SEPARATOR.$file;
}
$files = array_map('escapeshellarg', $files);
$cmd = $arc['cmd'].' '.$arc['argc'].' '.escapeshellarg($name).' '.implode(' ', $files);