mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
XE의 FileHandler::getRemoteFile을 PEAR::HTTPReuqest를 이용하도록 수정.
FileHandler::getRemoteResource를 FileHandler::getRemoteFile 에서 다시 사용하도록 하고 config.inc.php에서 __PROXY_SERVER__ 라는 상수를 통해 특정 서버를 거쳐서 외부 요청을 하는 기능 추가 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6037 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1ce3a67992
commit
a1f49ed545
4 changed files with 69 additions and 75 deletions
|
|
@ -31,6 +31,8 @@
|
|||
* define('__DEBUG_DB_OUTPUT__', 0);
|
||||
* define('__LOG_SLOW_QUERY__', 0);
|
||||
* define('__OB_GZHANDLER_ENABLE__', 1);
|
||||
*
|
||||
* define('__PROXY_SERVER__', 'http://domain:port/path');
|
||||
* ?>
|
||||
*/
|
||||
if(file_exists(_XE_PATH_.'config/config.user.inc.php')) {
|
||||
|
|
@ -85,6 +87,12 @@
|
|||
**/
|
||||
if(!defined('__OB_GZHANDLER_ENABLE__')) define('__OB_GZHANDLER_ENABLE__', 1);
|
||||
|
||||
/**
|
||||
* @brief __PROXY_SERVER__ 는 대상 서버를 거쳐서 외부 요청을 하도록 하는 서버의 정보를 가지고 있음
|
||||
* FileHandler::getRemoteResource 에서 이 상수를 사용함
|
||||
**/
|
||||
if(!defined('__PROXY_SERVER__')) define('__PROXY_SERVER__', null);
|
||||
|
||||
/**
|
||||
* @brief Firebug 콘솔 출력 사용시 관련 파일 require
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue