lib/elFinderVolumeDriver.class.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1225-1227 (lines=3) @@ | 
                                                            
                                    | 1222 |  | 		$this->disabled = array_values(array_unique($this->disabled)); | 
                                                            
                                    | 1223 |  |  | 
                                                            
                                    | 1224 |  | 		// fix sync interval | 
                                                            
                                    | 1225 |  | 		if ($this->options['syncMinMs'] !== 0) { | 
                                                            
                                    | 1226 |  | 		    $this->options['syncMinMs'] = max($this->options[$this->options['syncChkAsTs'] ? 'tsPlSleep' : 'lsPlSleep'] * 1000, intval($this->options['syncMinMs'])); | 
                                                            
                                    | 1227 |  | 		} | 
                                                            
                                    | 1228 |  |  | 
                                                            
                                    | 1229 |  | 		// ` copyJoin` is required for the trash function | 
                                                            
                                    | 1230 |  | 		if ($this->options['trashHash'] && empty($this->options['copyJoin'])) { | 
                                                                        
                 
                                                            
                    
lib/elFinderVolumeDropbox.class.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 474-480 (lines=7) @@ | 
                                                            
                                    | 471 |  | 	    if (is_null($this->options['syncChkAsTs'])) { | 
                                                            
                                    | 472 |  | 	        $this->options['syncChkAsTs'] = true; | 
                                                            
                                    | 473 |  | 	    } | 
                                                            
                                    | 474 |  | 	    if ($this->options['syncChkAsTs']) { | 
                                                            
                                    | 475 |  | 	        // 'tsPlSleep' minmum 5 sec | 
                                                            
                                    | 476 |  | 			$this->options['tsPlSleep'] = max(5, $this->options['tsPlSleep']); | 
                                                            
                                    | 477 |  | 	    } else { | 
                                                            
                                    | 478 |  | 	        // 'lsPlSleep' minmum 10 sec | 
                                                            
                                    | 479 |  | 			$this->options['lsPlSleep'] = max(10, $this->options['lsPlSleep']); | 
                                                            
                                    | 480 |  | 	    } | 
                                                            
                                    | 481 |  |  | 
                                                            
                                    | 482 |  | 	    return true; | 
                                                            
                                    | 483 |  | 	} |