aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs')
-rw-r--r--OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
index f3efb53..a8e0fb5 100644
--- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
+++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
@@ -56,9 +56,16 @@ namespace OpenSim.Capabilities.Handlers
56 56
57 public const string DefaultFormat = "x-j2c"; 57 public const string DefaultFormat = "x-j2c";
58 58
59 // TODO: Change this to a config option
60 private string m_RedirectURL = null;
61
62
59 public GetTextureHandler(IAssetService assService) 63 public GetTextureHandler(IAssetService assService)
60 { 64 {
61 m_assetService = assService; 65 m_assetService = assService;
66 m_RedirectURL = redirectURL;
67 if (m_RedirectURL != null && !m_RedirectURL.EndsWith("/"))
68 m_RedirectURL += "/";
62 } 69 }
63 70
64 public Hashtable Handle(Hashtable request) 71 public Hashtable Handle(Hashtable request)