Code Duplication    Length = 2-2 lines in 2 locations

ecrire/inc/traduire.php 1 location

@@ 44-45 (lines=2) @@
41
	static $dirs = array();
42
	$liste = array();
43
	foreach (creer_chemin() as $dir) {
44
		if (!isset($dirs[$a = $dir . $dirname])) {
45
			$dirs[$a] = (is_dir($a) || !$a);
46
		}
47
		if ($dirs[$a]) {
48
			if (is_readable($a .= $file)) {

ecrire/inc/utils.php 1 location

@@ 1566-1567 (lines=2) @@
1563
	}
1564
1565
	foreach (creer_chemin() as $dir) {
1566
		if (!isset($dirs[$a = $dir . $dirname])) {
1567
			$dirs[$a] = (is_dir(_ROOT_CWD . $a) || !$a);
1568
		}
1569
		if ($dirs[$a]) {
1570
			if (file_exists(_ROOT_CWD . ($a .= $file))) {