@ -3,6 +3,7 @@ using Nancy.Routing;
using NzbDrone.Common ;
using NzbDrone.Common ;
using NzbDrone.Api.Extensions ;
using NzbDrone.Api.Extensions ;
using NzbDrone.Common.EnvironmentInfo ;
using NzbDrone.Common.EnvironmentInfo ;
using NzbDrone.Common.Processes ;
using NzbDrone.Core.Configuration ;
using NzbDrone.Core.Configuration ;
using NzbDrone.Core.Datastore ;
using NzbDrone.Core.Datastore ;
using NzbDrone.Core.Lifecycle ;
using NzbDrone.Core.Lifecycle ;
@ -46,9 +47,9 @@ namespace NzbDrone.Api.System
Version = BuildInfo . Version . ToString ( ) ,
Version = BuildInfo . Version . ToString ( ) ,
BuildTime = BuildInfo . BuildDateTime ,
BuildTime = BuildInfo . BuildDateTime ,
IsDebug = BuildInfo . IsDebug ,
IsDebug = BuildInfo . IsDebug ,
IsProduction = RuntimeInfo . IsProduction ,
IsProduction = RuntimeInfo Base . IsProduction ,
IsAdmin = _runtimeInfo . IsAdmin ,
IsAdmin = _runtimeInfo . IsAdmin ,
IsUserInteractive = _runtimeInfo . IsUserInteractive ,
IsUserInteractive = RuntimeInfoBase . IsUserInteractive ,
StartupPath = _appFolderInfo . StartUpFolder ,
StartupPath = _appFolderInfo . StartUpFolder ,
AppData = _appFolderInfo . GetAppDataPath ( ) ,
AppData = _appFolderInfo . GetAppDataPath ( ) ,
OsVersion = OsInfo . Version . ToString ( ) ,
OsVersion = OsInfo . Version . ToString ( ) ,
@ -61,7 +62,8 @@ namespace NzbDrone.Api.System
Authentication = _configFileProvider . AuthenticationEnabled ,
Authentication = _configFileProvider . AuthenticationEnabled ,
StartOfWeek = ( int ) OsInfo . FirstDayOfWeek ,
StartOfWeek = ( int ) OsInfo . FirstDayOfWeek ,
SqliteVersion = _database . Version ,
SqliteVersion = _database . Version ,
UrlBase = _configFileProvider . UrlBase
UrlBase = _configFileProvider . UrlBase ,
RuntimeVersion = OsInfo . IsMono ? _runtimeInfo . RuntimeVersion : null
} . AsResponse ( ) ;
} . AsResponse ( ) ;
}
}