가상 사이트의 사용자 정의 언어를 사용할때 $user_lang->변수명 으로 기본 사이트등에서 나타날 경우 $user_lang 이라는 글자를 제거하여 번역은 안되지만 오류처럼 보이지 않도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6193 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-04-24 07:28:06 +00:00
parent 43aee30a00
commit c48cdf70a1

View file

@ -516,7 +516,7 @@
}
if(!Context::get($matches[1]) && $lang[$matches[1]]) return $lang[$matches[1]];
return $matches[0];
return str_replace('$user_lang->','',$matches[0]);
}