php/elFinderVolumeDropbox.class.php 1 location
|
@@ 415-421 (lines=7) @@
|
| 412 |
|
if (is_null($this->options['syncChkAsTs'])) { |
| 413 |
|
$this->options['syncChkAsTs'] = true; |
| 414 |
|
} |
| 415 |
|
if ($this->options['syncChkAsTs']) { |
| 416 |
|
// 'tsPlSleep' minmum 5 sec |
| 417 |
|
$this->options['tsPlSleep'] = max(5, $this->options['tsPlSleep']); |
| 418 |
|
} else { |
| 419 |
|
// 'lsPlSleep' minmum 10 sec |
| 420 |
|
$this->options['lsPlSleep'] = max(10, $this->options['lsPlSleep']); |
| 421 |
|
} |
| 422 |
|
|
| 423 |
|
return true; |
| 424 |
|
} |
php/elFinderVolumeDriver.class.php 1 location
|
@@ 1029-1031 (lines=3) @@
|
| 1026 |
|
$this->configure(); |
| 1027 |
|
|
| 1028 |
|
// fix sync interval |
| 1029 |
|
if ($this->options['syncMinMs'] !== 0) { |
| 1030 |
|
$this->options['syncMinMs'] = max($this->options[$this->options['syncChkAsTs']? 'tsPlSleep' : 'lsPlSleep'] * 1000, intval($this->options['syncMinMs'])); |
| 1031 |
|
} |
| 1032 |
|
|
| 1033 |
|
return $this->mounted = true; |
| 1034 |
|
} |