diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-29 05:35:21 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-29 05:35:21 +0000 |
commit | d97f4bdba3e29ea63f488e56f5141a203b7b2171 (patch) | |
tree | 97754f9205093256f69b178678f9089cf039b05d /includes/xmlrpcs.inc | |
parent | e1a00ff848b226f256149781c78bd4749877aa1b (diff) | |
download | brdo-d97f4bdba3e29ea63f488e56f5141a203b7b2171.tar.gz brdo-d97f4bdba3e29ea63f488e56f5141a203b7b2171.tar.bz2 |
#697210 follow-up by deekayen, moshe weitzman: Changed Change die() instances to exit().
Diffstat (limited to 'includes/xmlrpcs.inc')
-rw-r--r-- | includes/xmlrpcs.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/xmlrpcs.inc b/includes/xmlrpcs.inc index 441bb33ca..eb12966a1 100644 --- a/includes/xmlrpcs.inc +++ b/includes/xmlrpcs.inc @@ -60,7 +60,8 @@ function xmlrpc_server($callbacks) { $data = file_get_contents('php://input'); if (!$data) { - exit('XML-RPC server accepts POST requests only.'); + print 'XML-RPC server accepts POST requests only.'; + drupal_exit(); } $xmlrpc_server->message = xmlrpc_message($data); if (!xmlrpc_message_parse($xmlrpc_server->message)) { |