#define LD_ED_MAR_REJECT 256
CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);
int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{
if (this->InsertDomain(domain) == -1)
{
return 0;
}
CDomainConf pconfdomain = this->GetDomain(domain);
property += LD_ED_MAR_REJECT;
pconfdomain->WaitForSession();
pconfdomain->StartSession();
pconfdomain->SetVar("proprieta",this->Format("%d",property));
pconfdomain->Save();
pconfdomain->EndSession();
this->SaveDomains();
return 0;
}
|