Merge changes from Helicon

This commit is contained in:
Virtuworks 2012-08-15 10:26:07 -04:00
commit ce2fb9e9be

View file

@ -755,7 +755,7 @@ namespace WebsitePanel.Server
} }
[WebMethod] [WebMethod]
public SettingPair[] WpiGetLogsInDirectory(string path) public SettingPair[] WpiGetLogsInDirectory(string Path)
{ {
try try
{ {
@ -763,7 +763,7 @@ namespace WebsitePanel.Server
ArrayList result = new ArrayList(); ArrayList result = new ArrayList();
string[] filePaths = Directory.GetFiles(path); string[] filePaths = Directory.GetFiles(Path);
foreach (string filePath in filePaths) foreach (string filePath in filePaths)
{ {
using (StreamReader streamReader = new StreamReader(filePath)) using (StreamReader streamReader = new StreamReader(filePath))