Code Duplication    Length = 5-5 lines in 2 locations

other/install.php 2 locations

@@ 786-790 (lines=5) @@
783
		}
784
785
		// God I hope it saved!
786
		if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\')
787
		{
788
			$incontext['error'] = $txt['error_windows_chmod'];
789
			return false;
790
		}
791
792
		// Make sure it works.
793
		require(dirname(__FILE__) . '/Settings.php');
@@ 952-956 (lines=5) @@
949
		);
950
951
		// Must save!
952
		if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\')
953
		{
954
			$incontext['error'] = $txt['error_windows_chmod'];
955
			return false;
956
		}
957
958
		// Make sure it works.
959
		require(dirname(__FILE__) . '/Settings.php');