Code Duplication    Length = 5-5 lines in 2 locations

other/install.php 2 locations

@@ 810-814 (lines=5) @@
807
		}
808
809
		// God I hope it saved!
810
		if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\')
811
		{
812
			$incontext['error'] = $txt['error_windows_chmod'];
813
			return false;
814
		}
815
816
		// Make sure it works.
817
		require(dirname(__FILE__) . '/Settings.php');
@@ 1006-1010 (lines=5) @@
1003
		);
1004
1005
		// Must save!
1006
		if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\')
1007
		{
1008
			$incontext['error'] = $txt['error_windows_chmod'];
1009
			return false;
1010
		}
1011
1012
		// Make sure it works.
1013
		require(dirname(__FILE__) . '/Settings.php');