Code Duplication    Length = 6-6 lines in 2 locations

Sources/Subs-Package.php 2 locations

@@ 2066-2071 (lines=6) @@
2063
		// Now, loop through all the files we're changing, and, well, change them ;)
2064
		foreach ($files_to_change as $theme => $working_file)
2065
		{
2066
			if ($working_file[0] != '/' && $working_file[1] != ':')
2067
			{
2068
				trigger_error('parseModification(): The filename \'' . $working_file . '\' is not a full path!', E_USER_WARNING);
2069
2070
				$working_file = $boarddir . '/' . $working_file;
2071
			}
2072
2073
			// Doesn't exist - give an error or what?
2074
			if (!file_exists($working_file) && (!$file->exists('@error') || !in_array(trim($file->fetch('@error')), array('ignore', 'skip'))))
@@ 2501-2506 (lines=6) @@
2498
			// Make sure the file exists!
2499
			$working_file = parse_path($code_match[2]);
2500
2501
			if ($working_file[0] != '/' && $working_file[1] != ':')
2502
			{
2503
				trigger_error('parseBoardMod(): The filename \'' . $working_file . '\' is not a full path!', E_USER_WARNING);
2504
2505
				$working_file = $boarddir . '/' . $working_file;
2506
			}
2507
2508
			if (!file_exists($working_file))
2509
			{