mirror of
https://github.com/opensim/opensim.git
synced 2026-06-06 11:25:46 +08:00
Actually set the PrivateBinPath in XEngine so relocating the scripts
directory works
This commit is contained in:
@@ -56,7 +56,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||
{
|
||||
public class ScriptInstance : MarshalByRefObject, IScriptInstance
|
||||
{
|
||||
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private IScriptEngine m_Engine;
|
||||
private IScriptWorkItem m_CurrentResult = null;
|
||||
@@ -271,9 +271,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||
//RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass);
|
||||
// lease.Register(this);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception e)
|
||||
{
|
||||
// m_log.ErrorFormat("[Script] Error loading assembly {0}\n"+e.ToString(), assembly);
|
||||
m_log.ErrorFormat("[Script] Error loading assembly {0}\n"+e.ToString(), assembly);
|
||||
throw;
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user