0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-12-22 23:50:31 +00:00

example.json.is_cloudflare.php

This commit is contained in:
Paul Cesar 2021-04-01 08:26:54 +02:00
parent da089ce9e7
commit 1e708ad68a

View File

@ -1,16 +1,16 @@
<?php <?php
/* /*
How to use json file How to use json file
1. Download .json files: https://codeberg.org/crimeflare/cloudflare-tor/src/branch/master/cloudflare_users/domains 1. Download .json files: https://codeberg.org/crimeflare/cloudflare-tor/src/branch/master/cloudflare_users/domains
2. Edit path: "/path/to/jsonfiles/" 2. Edit path: "/path/to/jsonfiles/"
*/ */
/* /*
is_listed_cf(str Domain) is_listed_cf(string Domain)
return return
[false, false]: file error [false, false]: file error
[true, true]: is cloudflare [true, true]: is cloudflare
@ -29,7 +29,7 @@ function is_listed_cf($domain)
} }
/* /*
is_cloudflare_cached(str Domain) is_cloudflare_cached(string Domain)
return return
true: is cloudflare true: is cloudflare
false: not listed false: not listed