change timezone to GMT+8

pull/192/head
gently 4 years ago
parent 9893da7a24
commit e03664eb43

@ -18,6 +18,7 @@ if(PHP_SAPI != 'cli'){
die('nothing.');
}
date_default_timezone_set('Asia/Shanghai');
$ARR_BLACKLIST = require ROOT_DIR . 'lib/black_domain_list.php';
$ARR_WHITELIST = require ROOT_DIR . 'lib/white_domain_list.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);
}
echo join(',', $arr_output);
echo join(',', $arr_output);

Loading…
Cancel
Save