modified file w3-total-cache

This commit is contained in:
2024-03-28 09:40:10 +00:00
committed by Gitium
parent 218272bbcb
commit 34dbbce9b4
3707 changed files with 392891 additions and 166170 deletions

View File

@ -0,0 +1,20 @@
<?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;
}
}