diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-20 23:41:11 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-20 23:41:11 -0400 |
| commit | a3d7849c268ad50f1553049124337be51fbc38a4 (patch) | |
| tree | 118f6531b07798ca57c881973daf32810ffc490c /MediaBrowser.Common.Implementations/BaseApplicationHost.cs | |
| parent | df509dedb71c35d6503a46d0e87a40790d2401e6 (diff) | |
support url's after closing nfo tag
Diffstat (limited to 'MediaBrowser.Common.Implementations/BaseApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Common.Implementations/BaseApplicationHost.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Common.Implementations/BaseApplicationHost.cs b/MediaBrowser.Common.Implementations/BaseApplicationHost.cs index 5a5d48ac27..a5b8082262 100644 --- a/MediaBrowser.Common.Implementations/BaseApplicationHost.cs +++ b/MediaBrowser.Common.Implementations/BaseApplicationHost.cs @@ -296,6 +296,16 @@ namespace MediaBrowser.Common.Implementations logger.Info("64-Bit Process: {0}", Environment.Is64BitProcess); logger.Info("Program data path: {0}", appPaths.ProgramDataPath); + Type type = Type.GetType("Mono.Runtime"); + if (type != null) + { + MethodInfo displayName = type.GetMethod("GetDisplayName", BindingFlags.NonPublic | BindingFlags.Static); + if (displayName != null) + { + logger.Info("Mono: " + displayName.Invoke(null, null)); + } + } + logger.Info("Application Path: {0}", appPaths.ApplicationPath); logger.Info("*** When reporting issues please include the entire log file. ***".ToUpper()); |
