Skip to content

The Free Software Media System - Server Backend & API

Merge

LukePulverenti Luke Pulverenti luke pulverenti86511152c24e
diff --cc MediaBrowser.Common/Kernel/BaseKernel.cs
index 514c05097c,3442787bcb..2420a50911
--- a/MediaBrowser.Common/Kernel/BaseKernel.cs
+++ b/MediaBrowser.Common/Kernel/BaseKernel.cs
@@@ -141,21 -214,19 +141,21 @@@ namespace MediaBrowser.Common.Kerne
/// <summary>
/// Reloads application configuration from the config file
/// </summary>
- private void ReloadConfiguration()
+ protected virtual void ReloadConfiguration()
{
- // Deserialize config
- if (!File.Exists(ConfigurationPath))
- {
- Configuration = new TConfigurationType();
- }
- else
- {
- Configuration = JsonSerializer.DeserializeFromFile<TConfigurationType>(ConfigurationPath);
- }
-
- Logger.LoggerInstance.LogSeverity = Configuration.LogSeverity;
+ //Configuration information for anything other than server-specific configuration will have to come via the API... -ebr
+
+ //// Deserialize config
+ //if (!File.Exists(ConfigurationPath))
+ //{
+ // Configuration = new TConfigurationType();
+ //}
+ //else
+ //{
+ // Configuration = JsonSerializer.DeserializeFromFile<TConfigurationType>(ConfigurationPath);
+ //}
+
+ //Logger.LoggerInstance.LogSeverity = Configuration.LogSeverity;
}
/// <summary>