mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
- 카운터 모듈을 정리하여 불필요한 쿼리 및 트랜잭션 제거 - 매일 첫 방문시 쿼리 오류 발생하는 문제 해결 - 더이상 사용하지 않는 $site_srl 기준의 테이블은 삭제
19 lines
606 B
PHP
19 lines
606 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_display_content' && 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 */
|