Skip to content

Commit

Permalink
VersionsManager: fixed including the same *.ini file twice [closes #24]
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik committed Dec 2, 2016
1 parent e1c9dd1 commit 120e839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/VersionsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private Task UpdatePhpIni(Version version)
var dir = this.GetVersionDir(version);
var ini = new StringBuilder();
foreach (var file in files)
foreach (var file in files.Distinct())
{
var path = this.ConfigurationDir + "\\" + file;
if (File.Exists(path))
Expand Down

0 comments on commit 120e839

Please sign in to comment.