mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
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:
parent
477db7ed4f
commit
29f0d4a503
12 changed files with 648 additions and 650 deletions
|
|
@ -1,17 +1,17 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
if(!defined('__XE__')) exit();
|
||||
|
||||
/**
|
||||
* @file adminlogging.addon.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Automatic link add-on
|
||||
**/
|
||||
$logged_info = Context::get('logged_info');
|
||||
$act = Context::get('act');
|
||||
$kind = strpos(strtolower($act),'admin')!==false?'admin':'';
|
||||
/**
|
||||
* @file adminlogging.addon.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Automatic link add-on
|
||||
**/
|
||||
$logged_info = Context::get('logged_info');
|
||||
$act = Context::get('act');
|
||||
$kind = strpos(strtolower($act),'admin')!==false?'admin':'';
|
||||
|
||||
if($called_position == 'before_module_proc' && $kind == 'admin' && $logged_info->is_admin == 'Y') {
|
||||
$oAdminloggingController = &getController('adminlogging');
|
||||
$oAdminloggingController->insertLog($this->module, $this->act);
|
||||
}
|
||||
if($called_position == 'before_module_proc' && $kind == 'admin' && $logged_info->is_admin == 'Y') {
|
||||
$oAdminloggingController = &getController('adminlogging');
|
||||
$oAdminloggingController->insertLog($this->module, $this->act);
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue