git-svn-id: http://xe-core.googlecode.com/svn/trunk@1279 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-23 05:38:32 +00:00
parent 3fb2e6fba2
commit ad2754314c
8 changed files with 101 additions and 46 deletions

View file

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