AppPath tweak
This commit is contained in:
parent
5017c16848
commit
e7816d7e7f
|
@ -69,7 +69,7 @@ namespace NzbDrone.Common
|
|||
if (!string.IsNullOrWhiteSpace(applicationPath))
|
||||
return applicationPath;
|
||||
|
||||
applicationPath = CrawlToRoot(StartUpPath);
|
||||
applicationPath = CrawlToRoot(AppDomain.CurrentDomain.BaseDirectory);
|
||||
if (!string.IsNullOrWhiteSpace(applicationPath))
|
||||
return applicationPath;
|
||||
|
||||
|
@ -77,7 +77,7 @@ namespace NzbDrone.Common
|
|||
if (!string.IsNullOrWhiteSpace(applicationPath))
|
||||
return applicationPath;
|
||||
|
||||
throw new ApplicationException("Can't fine IISExpress folder.");
|
||||
throw new ApplicationException("Can't finds IISExpress folder.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue