public void ApplyRecommendedSettings(ArrayList configIssueIndexes) { EnsureServerConnection(); PHPConfigHelper configHelper = new PHPConfigHelper(ManagementUnit); configHelper.ApplyRecommendedSettings(configIssueIndexes); }
public void ApplyRecommendedSettings(ArrayList configIssueIndexes) { EnsureServerConnection(); try { PHPConfigHelper configHelper = new PHPConfigHelper(ManagementUnit); configHelper.ApplyRecommendedSettings(configIssueIndexes); } catch (FileNotFoundException) { RaiseException("ErrorPHPIniNotFound"); } }
public void ApplyRecommendedSettings(ArrayList configIssueIndexes) { EnsureServerConnection(); try { ManagementUnitWrapper mgmtUnitWrapper = new ManagementUnitWrapper(ManagementUnit); PHPConfigHelper configHelper = new PHPConfigHelper(mgmtUnitWrapper); configHelper.ApplyRecommendedSettings(configIssueIndexes); } catch (FileNotFoundException) { RaiseException("ErrorPHPIniNotFound"); } catch (InvalidOperationException) { RaiseException("ErrorPHPIsNotRegistered"); } }