Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion facet_viewer/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ function getSets($rt) {
//return the transfer as a string
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

//tweak to follow redirects
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true );

// $output contains the output string
$output = curl_exec($ch);

Expand Down Expand Up @@ -168,6 +171,8 @@ function transformToTable($feedURL, $field) {
//return the transfer as a string
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch,CURLOPT_FOLLOWLOCATION, true ) ;

// $output contains the output string
$pageoutput = curl_exec($ch);

Expand Down Expand Up @@ -268,4 +273,4 @@ function transformToTable($feedURL, $field) {
});
</script>
</body>
</html>
</html>