mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] fix notice error
ref. https://github.com/Studio-42/elFinder/issues/1173#issuecomment-168434704
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user