Changeset 5445
- Timestamp:
- 05/11/07 03:21:06 (1 year ago)
- Files:
-
- trunk/xmlrpc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/xmlrpc.php
r5292 r5445 5 5 // Some browser-embedded clients send cookies. We don't want them. 6 6 $_COOKIE = array(); 7 8 // A bug in PHP < 5.2.2 makes $HTTP_RAW_POST_DATA not set by default, 9 // but we can do it ourself. 10 if ( !isset( $HTTP_RAW_POST_DATA ) ) { 11 $HTTP_RAW_POST_DATA = file_get_contents( 'php://input' ); 12 } 7 13 8 14 # fix for mozBlog and other cases where '<?xml' isn't on the very first line
