diff options
author | Justin Clarke Casey | 2007-12-31 23:20:49 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2007-12-31 23:20:49 +0000 |
commit | b8975ecbd9510bd8e766cb4ca06c5a70110187cd (patch) | |
tree | 7489daa7abfb2709f89f519a14dd15ce6e10bb9a /OpenSim/Framework/Util.cs | |
parent | * Added database and UserManagerBase glue for FriendsList management (diff) | |
download | opensim-SC-b8975ecbd9510bd8e766cb4ca06c5a70110187cd.zip opensim-SC-b8975ecbd9510bd8e766cb4ca06c5a70110187cd.tar.gz opensim-SC-b8975ecbd9510bd8e766cb4ca06c5a70110187cd.tar.bz2 opensim-SC-b8975ecbd9510bd8e766cb4ca06c5a70110187cd.tar.xz |
Make it possible for new inventory 'libraries' to be added without changing the default OpenSimLibrary files. Additional library folders and items can be added in a separate
directory
and linked in by an entry to inventory/Libraries.xml
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index c742cf3..0f41380 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -321,7 +321,12 @@ namespace OpenSim.Framework | |||
321 | 321 | ||
322 | public static string assetsDir() | 322 | public static string assetsDir() |
323 | { | 323 | { |
324 | return "assets"; | 324 | return Path.Combine(configDir(), "assets"); |
325 | } | ||
326 | |||
327 | public static string inventoryDir() | ||
328 | { | ||
329 | return Path.Combine(configDir(), "inventory"); | ||
325 | } | 330 | } |
326 | 331 | ||
327 | public static string configDir() | 332 | public static string configDir() |