Update whitelist.php

pull/4/head
david082321 4 years ago committed by GitHub
parent 29ff5239d8
commit 674f66f993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,10 +12,8 @@ if (ACCESS_KEY != ""){ // access_key 是否存在
$uid = get_uid(); // 从API获取
}
// 是否在白名单内
if (in_array($uid, $WHITELIST)) {
// pass
}else{
if (REPLACE_TYPE=="hlw" || REPLACE_TYPE=="tom" || REPLACE_TYPE=="xyy" || REPLACE_TYPE=="404" || $ep_ban == 1){ // 替换成葫芦娃、猫和老鼠、喜羊羊、肥肠抱歉
if (!in_array($uid, $WHITELIST) || $ep_ban == 1) {
if (REPLACE_TYPE=="hlw" || REPLACE_TYPE=="tom" || REPLACE_TYPE=="xyy" || REPLACE_TYPE=="404" || ){ // 替换成葫芦娃、猫和老鼠、喜羊羊、肥肠抱歉
include ("replace.php");
replace();
}else {

Loading…
Cancel
Save