this-> PlugInInstall

(Caronte Pcode version 2.0)

Description

int this->PlugInInstall(string [dir plugin name], string [unique_id]);

Install the unique_id plugin that is in the "dir plugin name" path andsearch "info.xml", into Caronte Antispam.

The function return 1 if success, 0 if not.

Example.

Source:

 

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

this->PlugInInstall("path","unique_id");

return 0;

}