mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 04:09:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6168 201d5d3c-b55e-5fd7-737f-ddc643e51545
22 lines
603 B
PHP
22 lines
603 B
PHP
<?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();
|
|
?>
|