Example #1
0
 static function initEDAssist()
 {
     /* to initialize EDAssist::$scheme */
     $v = curl_version();
     EDAssist::$scheme = array_search('https', $v['protocols']) !== false ? 'https://' : 'http://';
 }