From ea9e709c59173bb0160f64efe67aeeb6c7cf4e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Bj=C3=B6rkholm?= Date: Sat, 17 May 2014 00:06:57 +0200 Subject: [PATCH] Minor fix (showing contributors) --- credits.php | 1 + 1 file changed, 1 insertion(+) diff --git a/credits.php b/credits.php index eeb8c18..398739d 100644 --- a/credits.php +++ b/credits.php @@ -19,6 +19,7 @@ if(!function_exists('curl_version')) { // If CURL isn't enabled show default ver curl_setopt($curl, CURLOPT_URL, 'https://api.github.com/repos/Znote/ZnoteAAC/contributors'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_USERAGENT, 'ZnoteAAC'); // GitHub requires user agent header. + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); $contributors = json_decode(curl_exec($curl), true); // Sorted by contributions. $CONTRIBUTORS_PER_ROW = 7;