TinTin
   
    
商务门户版
Level: 36
HP: 1000 / 1000
MP: 608 / 1038
Exp: 71%
帖子: 913
积分: 2391
注册时间: 2006-01-17
|
|
|
|
skyline
  
   
专业版
Level: 33
HP: 901 / 901
MP: 302 / 1037
Exp: 18%
帖子: 454
积分: 913
注册时间: 2006-01-18
|
屏蔽函数就是将
function authcode($string, $operation) {
global $_SERVER, $_DCACHE;
require_once './forumdata/cache/cache_settings.php';
$discuz_auth_key = md5($_DCACHE['settings']['authkey'].$_SERVER['HTTP_USER_AGENT']);
$coded = '';
$keylength = strlen($discuz_auth_key);
$string = $operation == 'DECODE' ? base64_decode($string) : $string;
for($i = 0; $i < strlen($string); $i += $keylength) {
$coded .= substr($string, $i, $keylength) ^ $discuz_auth_key;
}
$coded = $operation == 'ENCODE' ? str_replace('=', '', base64_encode($coded)) : $coded;
return $coded;
}
function dsetcookie($var, $value, $life = 0, $prefix = 1) {
global $tablepre, $cookiedomain, $cookiepath, $timestamp, $_SERVER;
setcookie(($prefix ? $tablepre : '').$var, $value,
$life ? $timestamp + $life : 0, $cookiepath,
$cookiedomain, $_SERVER['SERVER_PORT'] == 443 ? 1 : 0);
}
删除。
|
| |
|
|
|
dengjd [博卡先锋]


普及版
Level: 22
HP: 123 / 594
MP: 32 / 828
Exp: 22%
帖子: 49
积分: 123
注册时间: 2006-08-15
|
我在本地测试的,把siteengine虚拟的www.a.com,DZ的是www.a.com/bbs,装把网站data目录下的install.lock删除后删除缓存,结果还是提示我那些,不知道是怎么回事啊。是不是因为两个的数据库设置的全是www_a_com的原因呢?
|
| |
|
|
|
|