1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-31 11:53:06 +00:00

AppPath tweak

This commit is contained in:
Mark McDowall 2012-08-29 22:50:22 -07:00
parent 5017c16848
commit e7816d7e7f

View file

@ -69,7 +69,7 @@ public virtual string ApplicationPath
if (!string.IsNullOrWhiteSpace(applicationPath))
return applicationPath;
applicationPath = CrawlToRoot(StartUpPath);
applicationPath = CrawlToRoot(AppDomain.CurrentDomain.BaseDirectory);
if (!string.IsNullOrWhiteSpace(applicationPath))
return applicationPath;
@ -77,7 +77,7 @@ public virtual string ApplicationPath
if (!string.IsNullOrWhiteSpace(applicationPath))
return applicationPath;
throw new ApplicationException("Can't fine IISExpress folder.");
throw new ApplicationException("Can't finds IISExpress folder.");
}
}