mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
19 lines
602 B
PHP
19 lines
602 B
PHP
<?php
|
|
/* Copyright (C) NAVER <http://www.navercorp.com> */
|
|
|
|
if(!defined('__XE__'))
|
|
exit();
|
|
|
|
/**
|
|
* @file counter.addon.php
|
|
* @author NAVER (developers@xpressengine.com)
|
|
* @brief Counter add-on
|
|
*/
|
|
// Execute if called_position is before_display_content
|
|
if($called_position == 'before_module_init' && Context::get('module') != 'admin' && Context::getResponseMethod() == 'HTML' && Context::isInstalled() && !isCrawler())
|
|
{
|
|
$oCounterController = getController('counter');
|
|
$oCounterController->counterExecute();
|
|
}
|
|
/* End of file counter.addon.php */
|
|
/* Location: ./addons/counter/counter.addon.php */
|