Code Duplication    Length = 3-4 lines in 2 locations

php/elFinderVolumeDriver.class.php 1 location

@@ 3330-3332 (lines=3) @@
3327
				
3328
				$result[] = $stat;
3329
			}
3330
			if ($stat['mime'] == 'directory' && $stat['read'] && !isset($stat['alias'])) {
3331
				$result = array_merge($result, $this->doSearch($p, $q, $mimes));
3332
			}
3333
		}
3334
		
3335
		return $result;

php/elFinderVolumeLocalFileSystem.class.php 1 location

@@ 1135-1138 (lines=4) @@
1132
		if ($dirs) {
1133
			foreach($dirs as $dir) {
1134
				$stat = $this->stat($dir);
1135
				if ($stat['read'] && !isset($stat['alias'])) {
1136
					@set_time_limit(30);
1137
					$result = array_merge($result, $this->doSearch($dir, $q, $mimes));
1138
				}
1139
			}
1140
		}
1141