mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-13 17:12:41 +08:00
fixed bug. #295
This commit is contained in:
parent
d199363af4
commit
14b621428f
@ -1,5 +1,5 @@
|
||||
#TITLE=anti-AD
|
||||
#VER=20201213095925
|
||||
#VER=20201223094859
|
||||
#URL=https://github.com/privacy-protection-tools/anti-AD
|
||||
#TOTAL_LINES=37810
|
||||
address=/00-gov.cn/
|
||||
|
@ -1,5 +1,5 @@
|
||||
#TITLE=anti-AD
|
||||
#VER=20201213095925
|
||||
#VER=20201223094900
|
||||
#URL=https://github.com/privacy-protection-tools/anti-AD
|
||||
#TOTAL_LINES=43194
|
||||
00-gov.cn
|
||||
|
@ -1,5 +1,5 @@
|
||||
!Title: anti-AD
|
||||
!Version: 20201213095925
|
||||
!Version: 20201223094859
|
||||
!Homepage: https://github.com/privacy-protection-tools/anti-AD
|
||||
!Total lines: 35912
|
||||
||*.wap.xsbiquge.com^
|
||||
|
@ -1,5 +1,5 @@
|
||||
#TITLE=anti-AD for SmartDNS
|
||||
#VER=20201213095925
|
||||
#VER=20201223094900
|
||||
#URL=https://github.com/privacy-protection-tools/anti-AD
|
||||
#TOTAL_LINES=37810
|
||||
address /00-gov.cn/#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#TITLE=anti-AD
|
||||
#VER=20201213095925
|
||||
#VER=20201223094859
|
||||
#URL=https://github.com/privacy-protection-tools/anti-AD
|
||||
#TOTAL_LINES=37810
|
||||
DOMAIN-SUFFIX,00-gov.cn
|
||||
|
@ -1,5 +1,5 @@
|
||||
#TITLE=anti-AD
|
||||
#VER=20201213095925
|
||||
#VER=20201223094859
|
||||
#URL=https://github.com/privacy-protection-tools/anti-AD
|
||||
#TOTAL_LINES=37810
|
||||
|
||||
|
@ -270,7 +270,7 @@ while(!feof($src_fp)){
|
||||
continue;
|
||||
}
|
||||
|
||||
if(($row{0} === '!') && (substr($row, 0, 13) === '!Total lines:')){
|
||||
if((substr($row, 0, 1) === '!') && (substr($row, 0, 13) === '!Total lines:')){
|
||||
$insert_pos = $written_size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user