aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
diff options
context:
space:
mode:
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>