about summary refs log tree commit diff stats
path: root/central/trunk/instadisc.php
diff options
context:
space:
mode:
Diffstat (limited to 'central/trunk/instadisc.php')
-rw-r--r--central/trunk/instadisc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/central/trunk/instadisc.php b/central/trunk/instadisc.php index c9bf051..98a9385 100644 --- a/central/trunk/instadisc.php +++ b/central/trunk/instadisc.php
@@ -91,11 +91,12 @@ function instaDisc_sendDatabase($cserver)
91 $i=0; 91 $i=0;
92 while ($getdb3[$i] = mysql_fetch_array($getdb2)) 92 while ($getdb3[$i] = mysql_fetch_array($getdb2))
93 { 93 {
94 $db[$getdb3[$i]['url']] = $getdb3[$i]['key']; 94 $db[$getdb3[$i]['url']]['key'] = $getdb3[$i]['key'];
95 $db[$getdb3[$i]['url']]['xmlrpc'] = $getdb3[$i]['xmlrpc'];
95 $i++; 96 $i++;
96 } 97 }
97 98
98 $cserver2 = $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; 99 $cserver2 = $_SERVER['HTTP_HOST'];
99 $getuk = "SELECT * FROM centralServers WHERE url = \"" . mysql_escape_string($cserver2) . "\""; 100 $getuk = "SELECT * FROM centralServers WHERE url = \"" . mysql_escape_string($cserver2) . "\"";
100 $getuk2 = mysql_query($getuk); 101 $getuk2 = mysql_query($getuk);
101 $getuk3 = mysql_fetch_array($getuk2); 102 $getuk3 = mysql_fetch_array($getuk2);