mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 14:19:58 +09:00
이름 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6168 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
946c14cc4f
commit
9913ffca17
4 changed files with 36 additions and 32 deletions
22
addons/smartphone/smartphone.addon.php
Normal file
22
addons/smartphone/smartphone.addon.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?PHP
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
|
||||
if(Context::get('module')=='admin') return;
|
||||
|
||||
if($called_position != 'before_module_proc' && $called_position != 'after_module_proc' ) return;
|
||||
|
||||
require_once(_XE_PATH_.'addons/smartphone/classes/smartphone.class.php');
|
||||
debugPrint("here");
|
||||
if(!smartphoneXE::isFromSmartPhone())
|
||||
{
|
||||
debugPrint("here");
|
||||
return;
|
||||
}
|
||||
debugPrint("here");
|
||||
|
||||
|
||||
$oSmartphoneXE = &smartphoneXE::getInstance();
|
||||
$oSmartphoneXE->setModuleInfo($this->module_info);
|
||||
$oSmartphoneXE->setModuleInstance($this);
|
||||
$oSmartphoneXE->display();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue