Code Duplication    Length = 5-5 lines in 2 locations

other/install.php 2 locations

@@ 783-787 (lines=5) @@
780
		}
781
782
		// God I hope it saved!
783
		if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\')
784
		{
785
			$incontext['error'] = $txt['error_windows_chmod'];
786
			return false;
787
		}
788
789
		// Make sure it works.
790
		require(dirname(__FILE__) . '/Settings.php');
@@ 947-951 (lines=5) @@
944
		);
945
946
		// Must save!
947
		if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\')
948
		{
949
			$incontext['error'] = $txt['error_windows_chmod'];
950
			return false;
951
		}
952
953
		// Make sure it works.
954
		require(dirname(__FILE__) . '/Settings.php');