mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +09:00
#18589175 * HTML 요청외에 카운터 동작하지 않도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7104 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
08723b06e5
commit
a6f4a7e961
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
* @brief 카운터 애드온
|
* @brief 카운터 애드온
|
||||||
**/
|
**/
|
||||||
// called_position가 before_display_content 일 경우 실행
|
// 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 = &getController('counter');
|
||||||
$oCounterController->procCounterExecute();
|
$oCounterController->procCounterExecute();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue