#18589175 * HTML 요청외에 카운터 동작하지 않도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7104 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2010-01-04 06:19:46 +00:00
parent 08723b06e5
commit a6f4a7e961

View file

@ -7,7 +7,7 @@
* @brief 카운터 애드온
**/
// called_position가 before_display_content 일 경우 실행
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module')!='admin') {
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module')!='admin' && Context::getResponseMethod() == 'HTML') {
$oCounterController = &getController('counter');
$oCounterController->procCounterExecute();
}