mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
src build elFinder-2.0-7e444dc
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user