mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 09:32:15 +09:00
issue 554
called by counter addon method change to other method. because old method enable connect with url type git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9696 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3794f7c718
commit
c3a0dce5f7
2 changed files with 8 additions and 1 deletions
|
|
@ -9,6 +9,6 @@
|
||||||
// Execute if called_position is before_display_content
|
// Execute if called_position is before_display_content
|
||||||
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module')!='admin' && Context::getResponseMethod() == 'HTML') {
|
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module')!='admin' && Context::getResponseMethod() == 'HTML') {
|
||||||
$oCounterController = &getController('counter');
|
$oCounterController = &getController('counter');
|
||||||
$oCounterController->procCounterExecute();
|
$oCounterController->counterExecute();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,15 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Counter logs
|
* @brief Counter logs
|
||||||
|
* @deprecated, if want use below function, you can use 'counterExecute' function instead this function
|
||||||
**/
|
**/
|
||||||
function procCounterExecute() {
|
function procCounterExecute() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Counter logs
|
||||||
|
**/
|
||||||
|
function counterExecute() {
|
||||||
$oDB = &DB::getInstance();
|
$oDB = &DB::getInstance();
|
||||||
$oDB->begin();
|
$oDB->begin();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue