reverting back to 'Path' argument name, with 'path' does not work :(
This commit is contained in:
parent
40ba3f65de
commit
8aa23b4170
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue