aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-02-25 00:17:59 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-02-25 00:17:59 -0500
commit364fbb9e0c7586afa296ddd7d739df086f4c3533 (patch)
tree4b643b13ebdc31b95d0544c87e9fa398571c450e /MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
parentb075e0a5b963435c67b7027f85b51ff181adc2d1 (diff)
fixed plugin assembly downloads as well as debug/release detection with nuget assemblies
Diffstat (limited to 'MediaBrowser.Server.Implementations/ServerApplicationPaths.cs')
-rw-r--r--MediaBrowser.Server.Implementations/ServerApplicationPaths.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
index e473808f5..a5e5b39c4 100644
--- a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
+++ b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
@@ -9,6 +9,20 @@ namespace MediaBrowser.Server.Implementations
/// </summary>
public class ServerApplicationPaths : BaseApplicationPaths, IServerApplicationPaths
{
+#if (DEBUG)
+ /// <summary>
+ /// Initializes a new instance of the <see cref="ServerApplicationPaths" /> class.
+ /// </summary>
+ public ServerApplicationPaths()
+ : base(true)
+ {
+ }
+#elif (RELEASE)
+ public ServerApplicationPaths()
+ : base(false)
+ {
+ }
+#endif
/// <summary>
/// The _root folder path
/// </summary>