#18864041 : fixed issues on php5.3

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7432 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-05-11 07:40:32 +00:00
parent 752d76a9b9
commit c67daa3cf0
16 changed files with 6322 additions and 2 deletions

View file

@ -325,8 +325,8 @@
* @remarks if the target is moved (when return code is 300~399), this function follows the location specified response header.
**/
function getRemoteResource($url, $body = null, $timeout = 3, $method = 'GET', $content_type = null, $headers = array(), $cookies = array(), $post_data = array()) {
set_include_path(_XE_PATH_."libs/PEAR");
require_once('PEAR.php');
//set_include_path(_XE_PATH_."libs/PEAR");
requirePear();
require_once('HTTP/Request.php');
if(__PROXY_SERVER__!==null) {