xe에 statistics 애드온을 연결하고 나서 쪽지함 오류문제 발생 프로그래밍/XE(XpressEngine) 2011. 2. 14. 10:21
제목:

xe에 statistics 애드온을 연결하고 나서 쪽지함 오류문제 발생

statistics.addon.php를 열어서 60번째 줄쯤으로 이동한 후

if(is_array(Context::get('message'))) $args->message = Context::get('message');
if(!$args->message and $this->message) $args->message = $this->message;

와 같이 수정하면 쪽지함문제가 해결됩니다.

혹시 특정모듈에서 작동하지 않게 하려면

if (Context::getResponseMethod() == 'XMLRPC' or $this->module == 'admin') return;
부분을
if (Context::getResponseMethod() == 'XMLRPC' || $this->module == 'admin' || $this->module == '모듈id') return;
로 수정하면 됩니다.

Posted by 뮤직라이프

,