|
@@ -89,8 +89,10 @@ namespace SMBServer
|
|
|
{
|
|
|
var document = ReadSettingsXML();
|
|
|
var configs = document.SelectSingleNode("Settings/Configs");
|
|
|
-
|
|
|
+
|
|
|
var dic = new Dictionary<string, string>();
|
|
|
+ if (null == configs) return dic;
|
|
|
+
|
|
|
foreach (XmlElement element in configs)
|
|
|
{
|
|
|
var key = element.Attributes["Key"]?.Value;
|