reverting back to 'Path' argument name, with 'path' does not work :(

This commit is contained in:
ruslan 2012-08-15 12:33:09 +03:00
parent 40ba3f65de
commit 8aa23b4170

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))