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

@@ 1516-1517 (lines=2) @@
1513
	}
1514
1515
	foreach (creer_chemin() as $dir) {
1516
		if (!isset($dirs[$a = $dir . $dirname])) {
1517
			$dirs[$a] = (is_dir(_ROOT_CWD . $a) || !$a);
1518
		}
1519
		if ($dirs[$a]) {
1520
			if (file_exists(_ROOT_CWD . ($a .= $file))) {