12345678910111213141516171819202122 |
- <?php
- /**
- * [WeEngine System] Copyright (c) 2014 WE7.CC
- * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
- */
- defined('IN_IA') or exit('Access Denied');
- if (!empty($_W['uniacid'])) {
- $link_uniacid = table('uni_link_uniacid')->getMainUniacid($_W['uniacid'], $entry['module']);
- if (!empty($link_uniacid)) {
- $_W['uniacid'] = $link_uniacid;
- $_W['account']['link_uniacid'] = $link_uniacid;
- }
- }
- $site = WeUtility::createModuleXzapp($entry['module']);
- $method = 'doPage' . ucfirst($entry['do']);
- if(!is_error($site)) {
- exit($site->$method());
- }
- message('模块不存在或是 '.$method.' 方法不存在', '', 'error');
|