Code Duplication    Length = 5-5 lines in 2 locations

other/install.php 2 locations

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