mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 17:17:02 +00:00
fixed application path to support Application path (full IIS Server)
This commit is contained in:
parent
67fb2cf987
commit
bdc8abe0b6
2 changed files with 2 additions and 37 deletions
32
LostInfo.txt
32
LostInfo.txt
|
@ -1,32 +0,0 @@
|
||||||
Missing after HDD Failure....
|
|
||||||
|
|
||||||
ExternalNotiifcationProvider
|
|
||||||
- NotifyOnGrab, Download, Rename
|
|
||||||
|
|
||||||
XbmcProvider
|
|
||||||
- SendNotification
|
|
||||||
- Update
|
|
||||||
- Clean
|
|
||||||
|
|
||||||
Settings/Notications
|
|
||||||
NoticationSettingsModel
|
|
||||||
XBMC:
|
|
||||||
Enabled
|
|
||||||
Notify On: Grab, Download, Rename
|
|
||||||
Update On: Download, Rename
|
|
||||||
FullUpdate (If Required)
|
|
||||||
Clean On: Download, Rename
|
|
||||||
Show Image?
|
|
||||||
TimeToDisplay?
|
|
||||||
|
|
||||||
|
|
||||||
ServerHelper
|
|
||||||
- Get IP/Hostname
|
|
||||||
|
|
||||||
|
|
||||||
SyncProvider Changes
|
|
||||||
- Add by Root or Single Series
|
|
||||||
|
|
||||||
AddSeries
|
|
||||||
- Simlar to SB
|
|
||||||
- FileBrowserModel - Name, Path
|
|
|
@ -3,6 +3,7 @@
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
|
using System.Web.Hosting;
|
||||||
using Ninject;
|
using Ninject;
|
||||||
using NLog.Config;
|
using NLog.Config;
|
||||||
using NLog.Targets;
|
using NLog.Targets;
|
||||||
|
@ -99,11 +100,7 @@ public static String AppPath
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (HttpContext.Current != null)
|
return HostingEnvironment.ApplicationPhysicalPath;
|
||||||
{
|
|
||||||
return new DirectoryInfo(HttpContext.Current.Server.MapPath("\\")).FullName;
|
|
||||||
}
|
|
||||||
return Directory.GetCurrentDirectory();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue