rhymix/addons/smartphone/smartphone.addon.php
haneul 9913ffca17 이름 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6168 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-04-22 08:09:08 +00:00

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();
?>