Пример #1
0
 /**
  * Set SSL on or off
  *
  * @param boolean $enabled SSL enabled
  * @param boolean $validate SSL certificate validation
  * @return void
  */
 public static function setSSL($enabled, $validate = true)
 {
     self::$useSSL = $enabled;
     self::$useSSLValidation = $validate;
 }