示例#1
0
 function __construct(&$props)
 {
     parent::__construct($props);
     if ($this->server['control_host']) {
         $this->control_host = $this->server['control_host'];
     } else {
         throw new ADEIException(translate("The control_host and control_port must point the location of cFPcom_proxy server"));
     }
     if ($this->server['control_port']) {
         $this->control_port = $this->server['control_port'];
     } else {
         throw new ADEIException(translate("The control_host and control_port must point the location of cFPcom_proxy server"));
     }
 }