src build elFinder-2.1-e271fed

This commit is contained in:
nao-pon
2016-01-03 15:33:39 +09:00
parent 7fad379bda
commit f9c1d3510e
6 changed files with 20 additions and 17 deletions
+2 -2
View File
@@ -53,8 +53,8 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
protected function init() {
// Normalize directory separator for windows
if (DIRECTORY_SEPARATOR !== '/') {
foreach(array('path', 'tmpPath', 'quarantine') as $key) {
if ($this->options[$key]) {
foreach(array('path', 'tmbPath', 'tmpPath', 'quarantine') as $key) {
if (!empty($this->options[$key])) {
$this->options[$key] = str_replace('/', DIRECTORY_SEPARATOR, $this->options[$key]);
}
}