Code Duplication    Length = 2-2 lines in 2 locations

ecrire/inc/plugin.php 2 locations

@@ 926-927 (lines=2) @@
923
						if (strlen($dir)) {
924
							$dir = rtrim($dir, '/') . '/';
925
						}
926
						if (!isset($chemin['type']) or $chemin['type'] == 'public') {
927
							$chemins['public'][] = "_DIR_PLUGIN_$prefix" . (strlen($dir) ? ".'$dir'" : "");
928
						}
929
						if (!isset($chemin['type']) or $chemin['type'] == 'prive') {
930
							$chemins['prive'][] = "_DIR_PLUGIN_$prefix" . (strlen($dir) ? ".'$dir'" : "");
@@ 929-930 (lines=2) @@
926
						if (!isset($chemin['type']) or $chemin['type'] == 'public') {
927
							$chemins['public'][] = "_DIR_PLUGIN_$prefix" . (strlen($dir) ? ".'$dir'" : "");
928
						}
929
						if (!isset($chemin['type']) or $chemin['type'] == 'prive') {
930
							$chemins['prive'][] = "_DIR_PLUGIN_$prefix" . (strlen($dir) ? ".'$dir'" : "");
931
						}
932
					}
933
				}