1. Use __XE__ instead of __ZBXE__

2. Reformat indentations


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9722 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-10-25 06:00:57 +00:00
parent 477db7ed4f
commit 29f0d4a503
12 changed files with 648 additions and 650 deletions

View file

@ -1,14 +1,14 @@
<?php
if(!defined("__ZBXE__")) exit();
if(!defined('__XE__')) exit();
/**
* @file counter.addon.php
* @author NHN (developers@xpressengine.com)
* @brief Counter add-on
**/
// Execute if called_position is before_display_content
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module')!='admin' && Context::getResponseMethod() == 'HTML') {
$oCounterController = &getController('counter');
$oCounterController->counterExecute();
}
/**
* @file counter.addon.php
* @author NHN (developers@xpressengine.com)
* @brief Counter add-on
**/
// Execute if called_position is before_display_content
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module')!='admin' && Context::getResponseMethod() == 'HTML') {
$oCounterController = &getController('counter');
$oCounterController->counterExecute();
}
?>