test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
553 B

<?php
defined('IN_IA') or exit('Access Denied');
load()->model('module');
$modulename = trim($_GPC['modulename']);
$callname = trim($_GPC['callname']);
$uniacid = intval($_GPC['uniacid']);
$_W['uniacid'] = intval($_GPC['uniacid']);
$args = $_GPC['args'];
$module_info = module_fetch($modulename);
if (empty($module_info)) {
iajax(0, array());
}
$site = WeUtility::createModuleSite($modulename);
if (empty($site)) {
iajax(0, array());
}
if (!method_exists($site, $callname)) {
iajax(0, array());
}
$ret = @$site->$callname($args);
iajax(0, $ret);