XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
counter.addon.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
3 
4 if(!defined('__XE__'))
5  exit();
6 
12 // Execute if called_position is before_display_content
13 if($called_position == 'before_module_init' && Context::get('module') != 'admin' && Context::getResponseMethod() == 'HTML' && Context::isInstalled() && !isCrawler())
14 {
15  $oCounterController = getController('counter');
16  $oCounterController->counterExecute();
17 }
18 /* End of file counter.addon.php */
19 /* Location: ./addons/counter/counter.addon.php */
getController($module_name)
Definition: func.inc.php:90
isCrawler($agent=NULL)
Definition: func.inc.php:1538