rhymix/addons/counter/counter.addon.php
ovclas c3a0dce5f7 issue 554
called by counter addon method change to other method.
because old method enable connect with url type


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9696 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-20 07:47:52 +00:00

14 lines
497 B
PHP

<?php
if(!defined("__ZBXE__")) exit();
/**
* @file counter.addon.php
* @author NHN (developers@xpressengine.com)
* @brief Counter add-on
**/
// Execute if called_position is before_display_content
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module')!='admin' && Context::getResponseMethod() == 'HTML') {
$oCounterController = &getController('counter');
$oCounterController->counterExecute();
}
?>