Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

@@ 1101-1102 (lines=2) @@
1098
		echo ' * Updating Settings.php...';
1099
1100
	// Fix some old paths.
1101
	if (substr($boarddir, 0, 1) == '.')
1102
		$changes['boarddir'] = '\'' . fixRelativePath($boarddir) . '\'';
1103
1104
	if (substr($sourcedir, 0, 1) == '.')
1105
		$changes['sourcedir'] = '\'' . fixRelativePath($sourcedir) . '\'';
@@ 1104-1105 (lines=2) @@
1101
	if (substr($boarddir, 0, 1) == '.')
1102
		$changes['boarddir'] = '\'' . fixRelativePath($boarddir) . '\'';
1103
1104
	if (substr($sourcedir, 0, 1) == '.')
1105
		$changes['sourcedir'] = '\'' . fixRelativePath($sourcedir) . '\'';
1106
1107
	if (empty($cachedir) || substr($cachedir, 0, 1) == '.')
1108
		$changes['cachedir'] = '\'' . fixRelativePath($boarddir) . '/cache\'';