aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r--OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs
index b214598..2eb59d2 100644
--- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs
+++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs
@@ -36,8 +36,11 @@ namespace OpenSim.Framework.Communications.Caches
36 this.CreateLibraryItems(); 36 this.CreateLibraryItems();
37 37
38 string filePath = Path.Combine(Util.configDir(), "OpenSimLibrary.xml"); 38 string filePath = Path.Combine(Util.configDir(), "OpenSimLibrary.xml");
39 XmlConfigSource source = new XmlConfigSource(filePath); 39 if (File.Exists(filePath))
40 this.ReadItemsFromFile(source); 40 {
41 XmlConfigSource source = new XmlConfigSource(filePath);
42 this.ReadItemsFromFile(source);
43 }
41 } 44 }
42 45
43 private void CreateLibraryItems() 46 private void CreateLibraryItems()