Code Duplication    Length = 1-1 lines in 3 locations

ecrire/inc/distant.php 3 locations

@@ 1146-1146 (lines=1) @@
1143
	} elseif ($t['scheme'] == 'https') {
1144
		$scheme = 'ssl';
1145
		$noproxy = 'ssl://';
1146
		if (!isset($t['port']) || !($port = $t['port'])) {
1147
			$t['port'] = 443;
1148
		}
1149
	} else {
@@ 1157-1157 (lines=1) @@
1154
		$user = array($t['user'], $t['pass']);
1155
	}
1156
1157
	if (!isset($t['port']) || !($port = $t['port'])) {
1158
		$port = 80;
1159
	}
1160
	if (!isset($t['path']) || !($path = $t['path'])) {
@@ 1160-1160 (lines=1) @@
1157
	if (!isset($t['port']) || !($port = $t['port'])) {
1158
		$port = 80;
1159
	}
1160
	if (!isset($t['path']) || !($path = $t['path'])) {
1161
		$path = '/';
1162
	}
1163