HEX
Server: Apache
System: Linux beta.alfanet.ee 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: busines1 (1252)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home-ssd1/busines1/www/wp-content/plugins/w3-total-cache/lib/NetDNA/W3tcWpHttpException.php
<?php

class W3tcWpHttpException extends Exception {
  
  private $curl_headers;

  public function __construct($message, $code = 0, Exception $previous = null, $headers = null) {
      if (version_compare(PHP_VERSION, '5.3', '>='))
          parent::__construct($message, (int)$code, $previous);
      else
          parent::__construct($message, (int)$code);
      $this->curl_headers = $headers;
  }

  public function getHeaders() {
    return $this->curl_headers;
  }

}