mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
#970 카운터 기록 시 crawler 제외
This commit is contained in:
parent
aab1c8f1a1
commit
c50ca204f7
1 changed files with 1 additions and 1 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())
|
||||
if($called_position == 'before_module_init' && 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