Skip to content

Commit 120e839

Browse files
committed
VersionsManager: fixed including the same *.ini file twice [closes #24]
1 parent e1c9dd1 commit 120e839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/VersionsManager.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private Task UpdatePhpIni(Version version)
117117

118118
var dir = this.GetVersionDir(version);
119119
var ini = new StringBuilder();
120-
foreach (var file in files)
120+
foreach (var file in files.Distinct())
121121
{
122122
var path = this.ConfigurationDir + "\\" + file;
123123
if (File.Exists(path))

0 commit comments

Comments
 (0)