aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Program/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Program/Program.cs')
-rw-r--r--MediaBrowser.Program/Program.cs21
1 files changed, 1 insertions, 20 deletions
diff --git a/MediaBrowser.Program/Program.cs b/MediaBrowser.Program/Program.cs
index 1933ad126..ff7ad002f 100644
--- a/MediaBrowser.Program/Program.cs
+++ b/MediaBrowser.Program/Program.cs
@@ -1,6 +1,4 @@
using System;
-using System.Configuration;
-using System.IO;
using MediaBrowser.Controller;
namespace MediaBrowser.Program
@@ -18,24 +16,7 @@ namespace MediaBrowser.Program
Console.WriteLine("Loading");
- string installDir = ConfigurationManager.AppSettings["DataPath"];
-
- if (!Path.IsPathRooted(installDir))
- {
- string path = System.Reflection.Assembly.GetExecutingAssembly().Location;
- path = Path.GetDirectoryName(path);
-
- installDir = Path.Combine(path, installDir);
-
- installDir = Path.GetFullPath(installDir);
- }
-
- if (!Directory.Exists(installDir))
- {
- Directory.CreateDirectory(installDir);
- }
-
- Kernel kernel = new Kernel(installDir);
+ Kernel kernel = new Kernel();
kernel.Init();