aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/AssetServerBase.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-29 16:56:48 +0000
committerJustin Clarke Casey2008-12-29 16:56:48 +0000
commit266d0fbaaeac0dad06da98ceda8d19b8f3d732d6 (patch)
tree45f2ad93db485b5144c3fc86662891432c3a877a /OpenSim/Framework/Communications/Cache/AssetServerBase.cs
parentRevamp the return logic to close a privilege escalation loophole. (diff)
downloadopensim-SC-266d0fbaaeac0dad06da98ceda8d19b8f3d732d6.zip
opensim-SC-266d0fbaaeac0dad06da98ceda8d19b8f3d732d6.tar.gz
opensim-SC-266d0fbaaeac0dad06da98ceda8d19b8f3d732d6.tar.bz2
opensim-SC-266d0fbaaeac0dad06da98ceda8d19b8f3d732d6.tar.xz
* Apply http://opensimulator.org/mantis/view.php?id=2927 with some changes
* This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml * This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone) and via the user and asset config xml files for grid mode * Thanks to SirKimba for the patch
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/AssetServerBase.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetServerBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs
index a289fb7..137bde9 100644
--- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs
@@ -106,11 +106,11 @@ namespace OpenSim.Framework.Communications.Cache
106 } 106 }
107 } 107 }
108 108
109 public virtual void LoadDefaultAssets() 109 public virtual void LoadDefaultAssets(string pAssetSetsXml)
110 { 110 {
111 m_log.Info("[ASSET SERVER]: Setting up asset database"); 111 m_log.Info("[ASSET SERVER]: Setting up asset database");
112 112
113 assetLoader.ForEachDefaultXmlAsset(StoreAsset); 113 assetLoader.ForEachDefaultXmlAsset(pAssetSetsXml, StoreAsset);
114 } 114 }
115 115
116 public AssetServerBase() 116 public AssetServerBase()