diff --git a/back/includes/cls_cloudflare.php b/back/includes/cls_cloudflare.php index da36264..f7f7c2b 100755 --- a/back/includes/cls_cloudflare.php +++ b/back/includes/cls_cloudflare.php @@ -26,7 +26,8 @@ class cloudflare $this->domain = $_CFG['cf_domain']; $this->zoneid = $_CFG['cf_site_id']; $this->apikey = $_CFG['cf_api_key']; - $this->apiemail = $_CFG['cf_email']; + $this->token = 'kwtRK-E4WSXcOnqQyoFS4iooUsDR-mBLozFqByVP'; + $this->apiemail = $_CFG['cf_email']; $this->apiip = $_CFG['cf_ip']; $this->error_msg = ''; } @@ -41,7 +42,8 @@ class cloudflare 'proxied' => true, ]; - $header[] = 'X-Auth-Key: '.$this->apikey; + print_r($real_param); + $header[] = 'X-Auth-Email: '.$this->apiemail ; $header[] = 'Content-Type: application/json ' ;