Added version to page footer, minor tweaks.

This commit is contained in:
kay.one 2011-07-04 23:46:03 -07:00
parent 86c35d8c8c
commit 2a64014c96
11 changed files with 42 additions and 9 deletions

View file

@ -2,6 +2,7 @@
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Web.Hosting;
using Ninject;
using NLog;
@ -21,6 +22,12 @@ namespace NzbDrone.Core
private static readonly Object KernelLock = new object();
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
public static Version Version
{
get { return Assembly.GetExecutingAssembly().GetName().Version; }
}
public static String AppPath
{
get