From 6c8a190125947396a807deaacb3e5564b986b488 Mon Sep 17 00:00:00 2001 From: lsolesen Date: Thu, 7 Apr 2016 14:04:48 +0000 Subject: [PATCH] Make library compatible with Windows - fixes gh-14 --- QuickPay/API/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuickPay/API/Request.php b/QuickPay/API/Request.php index 149c88f..efb485e 100644 --- a/QuickPay/API/Request.php +++ b/QuickPay/API/Request.php @@ -164,7 +164,7 @@ protected function execute($request_type, $form = array()) } // Store received headers in temporary memory file, remember sent headers - $fh_header = fopen('php://memory', 'w+'); + $fh_header = fopen('php://temp', 'w+'); curl_setopt($this->client->ch, CURLOPT_WRITEHEADER, $fh_header); curl_setopt($this->client->ch, CURLINFO_HEADER_OUT, true);