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

@@ 1594-1595 (lines=2) @@
1591
	}
1592
1593
	foreach (creer_chemin() as $dir) {
1594
		if (!isset($dirs[$a = $dir . $dirname])) {
1595
			$dirs[$a] = (is_dir(_ROOT_CWD . $a) || !$a);
1596
		}
1597
		if ($dirs[$a]) {
1598
			if (file_exists(_ROOT_CWD . ($a .= $file))) {