setClientDatabaseName("k_company_".$company); }catch(\Exception $e){die('401');} $plugin = Plugin::fetch(array('className'=>'konnekKount360')); if(empty($plugin)) { $plugin = Plugin::fetch(array('className'=>'konnekKount')); } if(empty($plugin)) die(); $data = $plugin->pluginData; if(empty($data->UseTestingServer)) $domain = "ssl.kaptcha.com"; else $domain = 'tst.kaptcha.com'; if(empty($plugin->MerchantId)) $merchantId = "200650"; else $merchantId = $plugin->MerchantId; $headers = array(); $headers[] = "HTTP/1.1 302 Found"; $headers[] = "Location: https://$domain/logo.htm?m=$merchantId&s=$sessionId"; foreach($headers as $h) header($h); die();