change file

master
Christopher 2020-08-01 03:03:57 +02:00
parent c47045028a
commit c4e740aa92
1 changed files with 3 additions and 3 deletions

View File

@ -67,8 +67,8 @@ namespace OpenSim.Server.Handlers.Hypergrid
m_FriendsLocalSimConnector = friendsConn;
m_realHandler = new HGFriendsServerPostHandler(service, uas, friendsConn);
if (File.Exists("../friends.txt"))
m_fixCache = new List<String>(File.ReadAllLines("../friends.txt"));
if (File.Exists("friends.txt"))
m_fixCache = new List<String>(File.ReadAllLines("friends.txt"));
}
public static Stream GenerateStreamFromString(string s)
@ -113,7 +113,7 @@ namespace OpenSim.Server.Handlers.Hypergrid
lock(m_fixCache)
{
File.WriteAllLines("../friends.txt", m_fixCache.ToArray());
File.WriteAllLines("friends.txt", m_fixCache.ToArray());
}
return m_realHandler.Handle(path, GenerateStreamFromString(body), httpRequest, httpResponse);