diff options
author | onefang | 2019-05-19 22:15:41 +1000 |
---|---|---|
committer | onefang | 2019-05-19 22:15:41 +1000 |
commit | 295e91b8f44a356ab742dedd27c1b7edfe7b1157 (patch) | |
tree | de336b1b137c27f94bd4e0a2fb63bea9b1de60e2 /OpenSim/Server/Handlers | |
parent | Move db directory out of tree. (diff) | |
download | opensim-SC-295e91b8f44a356ab742dedd27c1b7edfe7b1157.zip opensim-SC-295e91b8f44a356ab742dedd27c1b7edfe7b1157.tar.gz opensim-SC-295e91b8f44a356ab742dedd27c1b7edfe7b1157.tar.bz2 opensim-SC-295e91b8f44a356ab742dedd27c1b7edfe7b1157.tar.xz |
Move cache, config, logs out of tree, and various related clean ups.
Diffstat (limited to 'OpenSim/Server/Handlers')
-rw-r--r-- | OpenSim/Server/Handlers/BakedTextures/XBakes.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Server/Handlers/BakedTextures/XBakes.cs b/OpenSim/Server/Handlers/BakedTextures/XBakes.cs index 4e55433..0c74564 100644 --- a/OpenSim/Server/Handlers/BakedTextures/XBakes.cs +++ b/OpenSim/Server/Handlers/BakedTextures/XBakes.cs | |||
@@ -67,12 +67,7 @@ namespace OpenSim.Server.Handlers.BakedTextures | |||
67 | throw new Exception("No BakedTextureService configuration"); | 67 | throw new Exception("No BakedTextureService configuration"); |
68 | } | 68 | } |
69 | 69 | ||
70 | m_FSBase = assetConfig.GetString("BaseDirectory", String.Empty); | 70 | m_FSBase = assetConfig.GetString("BaseDirectory", Util.cacheDir() + "/bakes"); |
71 | if (m_FSBase == String.Empty) | ||
72 | { | ||
73 | m_log.ErrorFormat("[BAKES]: BaseDirectory not specified"); | ||
74 | throw new Exception("Configuration error"); | ||
75 | } | ||
76 | 71 | ||
77 | m_log.Info("[BAKES]: XBakes service enabled"); | 72 | m_log.Info("[BAKES]: XBakes service enabled"); |
78 | } | 73 | } |