From 4c7d327cca55e9d8e129631434b4fec4501389da Mon Sep 17 00:00:00 2001 From: Phliplip Date: Thu, 15 Oct 2015 23:09:18 +0200 Subject: [PATCH] Fix warning message --- Pest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pest.php b/Pest.php index 7cb9d86..2f9995c 100644 --- a/Pest.php +++ b/Pest.php @@ -62,7 +62,7 @@ public function __construct($base_url) * not in use */ if (ini_get('open_basedir') == '' && strtolower(ini_get('safe_mode')) == 'off') { - $this->curl_opts['CURLOPT_FOLLOWLOCATION'] = true; + $this->curl_opts[CURLOPT_FOLLOWLOCATION] = true; } $this->base_url = $base_url;