Remove spaces from default plugin config filename

pull/702/head
LukePulverenti Luke Pulverenti luke pulverenti 12 years ago
parent 8269dba187
commit 5a89c00ac8

@ -1,8 +1,8 @@
using System; using MediaBrowser.Common.Kernel;
using System.IO;
using MediaBrowser.Common.Kernel;
using MediaBrowser.Common.Serialization; using MediaBrowser.Common.Serialization;
using MediaBrowser.Model.Plugins; using MediaBrowser.Model.Plugins;
using System;
using System.IO;
namespace MediaBrowser.Common.Plugins namespace MediaBrowser.Common.Plugins
{ {
@ -110,7 +110,13 @@ namespace MediaBrowser.Common.Plugins
/// <summary> /// <summary>
/// Gets the name of the configuration file. Subclasses should override /// Gets the name of the configuration file. Subclasses should override
/// </summary> /// </summary>
public virtual string ConfigurationFileName { get { return Name + ".xml"; } } public virtual string ConfigurationFileName
{
get
{
return Name.Replace(" ", string.Empty) + ".xml";
}
}
/// <summary> /// <summary>
/// Gets the full path to the configuration file /// Gets the full path to the configuration file

Loading…
Cancel
Save