카운터와 파일모듈에서 불필요한 컨텐츠를 재출력하는 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3717 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-02-19 15:14:57 +00:00
parent c604ab34a7
commit 2e9032a4ee
2 changed files with 3 additions and 4 deletions

View file

@ -13,7 +13,7 @@
**/
// called_position가 before_module_init 이고 module이 admin이 아닐 경우
if($called_position == 'before_module_init' && !$GLOBALS['__counter_addon_called__']) {
if($called_position == 'before_module_init' && !$GLOBALS['__counter_addon_called__'] && !in_array(Context::get('act'), array('procCounterExecute','procFileDelete'))) {
if($this->module != 'admin') Context::addJsFile('./modules/counter/tpl/js/counter.js');
$GLOBALS['__counter_addon_called__'] = true;
}