mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-13 17:12:41 +08:00
change timezone to GMT+8
This commit is contained in:
parent
9893da7a24
commit
e03664eb43
@ -18,6 +18,7 @@ if(PHP_SAPI != 'cli'){
|
|||||||
die('nothing.');
|
die('nothing.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
date_default_timezone_set('Asia/Shanghai');
|
||||||
$ARR_BLACKLIST = require ROOT_DIR . 'lib/black_domain_list.php';
|
$ARR_BLACKLIST = require ROOT_DIR . 'lib/black_domain_list.php';
|
||||||
$ARR_WHITELIST = require ROOT_DIR . 'lib/white_domain_list.php';
|
$ARR_WHITELIST = require ROOT_DIR . 'lib/white_domain_list.php';
|
||||||
require ROOT_DIR . 'lib/writerFormat.class.php';
|
require ROOT_DIR . 'lib/writerFormat.class.php';
|
||||||
@ -69,4 +70,4 @@ foreach($formatterList as $name => $formatObj){
|
|||||||
$arr_output[] = '[' . $name . ']:' . addressMaker::write_to_file($arr_src_domains, $formatObj, $arr_tmp_whitelist);
|
$arr_output[] = '[' . $name . ']:' . addressMaker::write_to_file($arr_src_domains, $formatObj, $arr_tmp_whitelist);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo join(',', $arr_output);
|
echo join(',', $arr_output);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user