aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 57042e9..b13e0de 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -710,15 +710,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine
710 evidence, appSetup); 710 evidence, appSetup);
711 else 711 else
712 sandbox = AppDomain.CurrentDomain; 712 sandbox = AppDomain.CurrentDomain;
713 /* 713
714 PolicyLevel sandboxPolicy = PolicyLevel.CreateAppDomainLevel(); 714 //PolicyLevel sandboxPolicy = PolicyLevel.CreateAppDomainLevel();
715 AllMembershipCondition sandboxMembershipCondition = new AllMembershipCondition(); 715 //AllMembershipCondition sandboxMembershipCondition = new AllMembershipCondition();
716 PermissionSet sandboxPermissionSet = sandboxPolicy.GetNamedPermissionSet("Internet"); 716 //PermissionSet sandboxPermissionSet = sandboxPolicy.GetNamedPermissionSet("Internet");
717 PolicyStatement sandboxPolicyStatement = new PolicyStatement(sandboxPermissionSet); 717 //PolicyStatement sandboxPolicyStatement = new PolicyStatement(sandboxPermissionSet);
718 CodeGroup sandboxCodeGroup = new UnionCodeGroup(sandboxMembershipCondition, sandboxPolicyStatement); 718 //CodeGroup sandboxCodeGroup = new UnionCodeGroup(sandboxMembershipCondition, sandboxPolicyStatement);
719 sandboxPolicy.RootCodeGroup = sandboxCodeGroup; 719 //sandboxPolicy.RootCodeGroup = sandboxCodeGroup;
720 sandbox.SetAppDomainPolicy(sandboxPolicy); 720 //sandbox.SetAppDomainPolicy(sandboxPolicy);
721 */ 721
722 m_AppDomains[appDomain] = sandbox; 722 m_AppDomains[appDomain] = sandbox;
723 723
724 m_AppDomains[appDomain].AssemblyResolve += 724 m_AppDomains[appDomain].AssemblyResolve +=