21,887
社区成员
发帖
与我相关
我的任务
分享
function redirect($msg, $url = 'javascript:history.go(-1);', $min = '3') {
global $charset, $in_ajax;
if($in_ajax) {
dialog('操作提示', $msg);
} elseif(defined("IN_ADMIN")) {
cpmsg($msg);
} else {
require_once template('modoer_redirect');
output();
}
}