Check-in [7d2df178fd]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Note about changed cloudflare API, but code not updated yet. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7d2df178fd9b0b4e3edcdd4308b514ed |
User & Date: | mario 2021-04-05 06:23:14 |
Context
2021-04-05
| ||
06:23 | Case-insensitive title match check-in: dbb0abdf71 user: mario tags: trunk | |
06:23 | Note about changed cloudflare API, but code not updated yet. check-in: 7d2df178fd user: mario tags: trunk | |
06:22 | Add cash* spamwords. check-in: 75bba41295 user: mario tags: trunk | |
Changes
Changes to cron.daily/header_stats.php.
︙ | ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | */ chdir(dirname(__DIR__)); include("config.php"); // get CloudFlare visitor stats $json = curl() ->url("https://www.cloudflare.com/api_json.html") ->postfields([ "a" => "stats", "tkn" => CLOUDFLARE_TKN, "email" => CLOUDFLARE_EMAIL, "z" => "freshcode.club", | > > > > > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | */ chdir(dirname(__DIR__)); include("config.php"); // get CloudFlare visitor stats /* v4: $ curl -X GET "https://api.cloudflare.com/client/v4/zones/023e105f4ecef8ad9ca31a8372d0c353/analytics/dashboard?since=2015-01-01T12:23:00Z&until=2015-01-02T12:23:00Z&continuous=true" \ -H "X-Auth-Email: user@example.com" \ -H "X-Auth-Key: c2547eb745079dac9320b638f5e225cf483cc5cfdda41" \ -H "Content-Type: application/json" */ $json = curl() ->url("https://www.cloudflare.com/api_json.html") ->postfields([ "a" => "stats", "tkn" => CLOUDFLARE_TKN, "email" => CLOUDFLARE_EMAIL, "z" => "freshcode.club", |
︙ | ︙ |