コード例 #1
0
ファイル: global.php プロジェクト: sherlockhouse/aliyun
unset($db_whybbsclose, $db_whycmsclose, $db_ipban, $db_diy, $dbhost, $dbuser, $dbpw, $dbname, $pconnect, $manager_pwd, $newmanager);
if ($groupid == 'guest') {
    pwCache::getData(D_P . 'data/groupdb/group_2.php');
} elseif (file_exists(D_P . "data/groupdb/group_{$groupid}.php")) {
    pwCache::getData(S::escapePath(D_P . "data/groupdb/group_{$groupid}.php"));
} else {
    pwCache::getData(D_P . 'data/groupdb/group_1.php');
}
visitRightByGroup();
if ($_G['pwdlimitime'] && !defined('PRO') && !S::inArray($windid, $manager) && $timestamp - 86400 * $_G['pwdlimitime'] > $winddb['pwdctime']) {
    Showmsg('pwdchange_prompt');
}
require_once R_P . 'aCloud/aCloud.php';
ACloud_App_Guiding::runApps(SCR);
require_once R_P . 'lib/cloudwind/cloudwind.class.php';
$cloud_information = CloudWind::getUserInfo();
CloudWind::sendUserInfo($cloud_information);
//响应
/**
 * 跳转
 *
 * @global string $db_ifjump
 * @param string $URL 跳转url
 * @param string $content 跳转提示信息
 * @param int $statime 几秒后跳转
 * @param bool $forcejump
 */
function refreshto($URL, $content, $statime = 1, $forcejump = false)
{
    if (defined('AJAX')) {
        Showmsg($content);