diff --git a/PodcastGenerator/core/pinger.php b/PodcastGenerator/core/pinger.php index 4c5bb204..8ab41873 100644 --- a/PodcastGenerator/core/pinger.php +++ b/PodcastGenerator/core/pinger.php @@ -23,10 +23,10 @@ function pingWebSub() CURLOPT_POST => true, CURLOPT_POSTFIELDS => $data, CURLOPT_RETURNTRANSFER => true, - CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded') + CURLOPT_HTTPHEADER => array('Content-Type: application/x-www-form-urlencoded') ); try { - $handle = curl_init(); + $handle = curl_init($config['websub_server']); curl_setopt_array($handle, $opts); $result = curl_exec($handle); }