Merge with 1769af056bcef8ba29d3523c0e928cc3b8558ea3 V01.09
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 19 Dec 2011 10:05:18 +0100
changeset 435 a022fd3397b4
parent 434 72f6b7a40b19 (current diff)
parent 432 2c18b115ab00 (diff)
child 436 358527ae3f99
Merge with 1769af056bcef8ba29d3523c0e928cc3b8558ea3
--- a/web/enmi2011/config.php	Mon Dec 19 10:02:50 2011 +0100
+++ b/web/enmi2011/config.php	Mon Dec 19 10:05:18 2011 +0100
@@ -74,7 +74,7 @@
     'use_tweetcast' => true,
     'js_config' => "
     var connect_type = 'gevent',
-    source_address = 'http://polemictweet.com:8080/',
+    source_address = 'http://polemictweet.com/tweetcast-proxy.php',
     tracking_keywords = [ \"#enmi\" ],
     suggested_keywords = [
         \"confiance\",
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/tweetcast-proxy.php	Mon Dec 19 10:05:18 2011 +0100
@@ -0,0 +1,11 @@
+<?php
+
+$url = 'http://polemictweet.com:8080/';
+
+$qs = $_SERVER['QUERY_STRING'];
+
+$toget = "$url?$qs";
+
+echo file_get_contents($toget)
+
+?>
\ No newline at end of file