From e8d501d75074b3b8c3b01778afafb84c5a48291d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 7 Nov 2016 12:47:38 +1000 Subject: More caches directory fixes, including moving console history there. --- OpenSim/Services/GridService/HypergridLinker.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Services') diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index 4df41cf..aebbf7c 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs @@ -119,7 +119,8 @@ namespace OpenSim.Services.GridService if (scope != string.Empty) UUID.TryParse(scope, out m_ScopeID); - m_MapTileDirectory = "../caches/" + gridConfig.GetString("MapTileDirectory", "maptiles"); +// TODO OpenSim is crazy, this is called from Robust and OpenSim, Robust needs the ../caches bit, OpenSim somehow adds a path already. I can't tell why. So strip the path. + m_MapTileDirectory = "../caches/" + Path.GetFileName(gridConfig.GetString("MapTileDirectory", "maptiles")); m_ThisGatekeeper = Util.GetConfigVarFromSections(config, "GatekeeperURI", new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); -- cgit v1.1