about summary refs log tree commit diff stats
path: root/central/trunk/instadisc.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-02 14:58:54 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-02 14:58:54 +0000
commit116e788a4f8159b0d502ae7faaf85146f1a979ff (patch)
tree898eb52d94a474a1a0415d6db3ac8cc83cb5bff4 /central/trunk/instadisc.php
parentf58e72c0d5181c5bf77393cf657d2c2bccee1073 (diff)
downloadinstadisc-116e788a4f8159b0d502ae7faaf85146f1a979ff.tar.gz
instadisc-116e788a4f8159b0d502ae7faaf85146f1a979ff.tar.bz2
instadisc-116e788a4f8159b0d502ae7faaf85146f1a979ff.zip
Central: Added "xmlrpc" field to centralServers
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);