mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Clean up counter module
- 카운터 모듈을 정리하여 불필요한 쿼리 및 트랜잭션 제거 - 매일 첫 방문시 쿼리 오류 발생하는 문제 해결 - 더이상 사용하지 않는 $site_srl 기준의 테이블은 삭제
This commit is contained in:
parent
350d0cd20c
commit
8d2b105847
21 changed files with 83 additions and 379 deletions
|
|
@ -10,7 +10,7 @@ if(!defined('__XE__'))
|
|||
* @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())
|
||||
if($called_position == 'before_display_content' && Context::get('module') != 'admin' && Context::getResponseMethod() == 'HTML' && Context::isInstalled() && !isCrawler())
|
||||
{
|
||||
$oCounterController = getController('counter');
|
||||
$oCounterController->counterExecute();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue