forked from extern/egroupware
Remove check for xmlrpc extension, since we so far implement this in php
This commit is contained in:
parent
58070d6c2e
commit
651a91706b
28
xmlrpc.php
28
xmlrpc.php
@ -28,34 +28,6 @@
|
|||||||
/* uncomment here if you want to show all of the testing functions for compatibility */
|
/* uncomment here if you want to show all of the testing functions for compatibility */
|
||||||
// include(PHPGW_API_INC . '/xmlrpc.interop.php');
|
// include(PHPGW_API_INC . '/xmlrpc.interop.php');
|
||||||
|
|
||||||
// If XML-RPC isn't enabled in PHP, return an XML-RPC response stating so
|
|
||||||
if(!function_exists('xmlrpc_server_create'))
|
|
||||||
{
|
|
||||||
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n";
|
|
||||||
echo "<methodResponse>\n";
|
|
||||||
echo "<fault>\n";
|
|
||||||
echo " <value>\n";
|
|
||||||
echo " <struct>\n";
|
|
||||||
echo " <member>\n";
|
|
||||||
echo " <name>faultString</name>\n";
|
|
||||||
echo " <value>\n";
|
|
||||||
echo " <string>XML-RPC support NOT enabled in PHP installation</string>\n";
|
|
||||||
echo " </value>\n";
|
|
||||||
echo " </member>\n";
|
|
||||||
echo " <member>\n";
|
|
||||||
echo " <name>faultCode</name>\n";
|
|
||||||
echo " <value>\n";
|
|
||||||
echo " <int>1005</int>\n";
|
|
||||||
echo " </value>\n";
|
|
||||||
echo " </member>\n";
|
|
||||||
echo " </struct>\n";
|
|
||||||
echo " </value>\n";
|
|
||||||
echo "</fault>\n";
|
|
||||||
echo "</methodResponse>\n";
|
|
||||||
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Note: this command only available under Apache */
|
/* Note: this command only available under Apache */
|
||||||
$headers = getallheaders();
|
$headers = getallheaders();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user