mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-08 22:52:58 +08:00
update URL
This commit is contained in:
parent
71260a69f8
commit
8355834930
@ -49,9 +49,9 @@ $src_fp = fopen(SRC_FILE, 'r');
|
|||||||
$basic_fp = fopen(DIST_DIR . '/anti-ad-dnsmasq-basic.conf', 'w');
|
$basic_fp = fopen(DIST_DIR . '/anti-ad-dnsmasq-basic.conf', 'w');
|
||||||
$full_fp = fopen(DIST_DIR . '/anti-ad-dnsmasq-full.conf', 'w');
|
$full_fp = fopen(DIST_DIR . '/anti-ad-dnsmasq-full.conf', 'w');
|
||||||
$write_len = fwrite($basic_fp, '#TIME=' . date('YmdHis') . "\n");
|
$write_len = fwrite($basic_fp, '#TIME=' . date('YmdHis') . "\n");
|
||||||
$write_len += fwrite($basic_fp, '#URL=https://github.com/gentlyxu/anti-AD' . "\n");
|
$write_len += fwrite($basic_fp, '#URL=https://github.com/privacy-protection-tools/anti-AD' . "\n");
|
||||||
$write_len = fwrite($full_fp, '#TIME=' . date('YmdHis') . "\n");
|
$write_len = fwrite($full_fp, '#TIME=' . date('YmdHis') . "\n");
|
||||||
$write_len += fwrite($full_fp, '#URL=https://github.com/gentlyxu/anti-AD' . "\n");
|
$write_len += fwrite($full_fp, '#URL=https://github.com/privacy-protection-tools/anti-AD' . "\n");
|
||||||
|
|
||||||
while(!feof($src_fp)){
|
while(!feof($src_fp)){
|
||||||
$row = fgets($src_fp, 512);
|
$row = fgets($src_fp, 512);
|
||||||
|
Loading…
Reference in New Issue
Block a user