From 5337ff5fe91d2b97b6ff849be797d81fc3639de9 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 26 Aug 2016 09:24:17 +0100 Subject: [PATCH] Don't get this via CURL --- lib/github.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github.php b/lib/github.php index e987f7a..d615cd4 100644 --- a/lib/github.php +++ b/lib/github.php @@ -182,7 +182,7 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset // Only get the file if it exists and begins with our $docRoot if (file_exists($file) && strpos($file,$docRoot) === 0) { - $loadedFile = toUTF8noBOM(getData($file,'curl'),true); + $loadedFile = toUTF8noBOM(getData($file),true); echo '","",str_replace("&","&",$loadedFile)).'

'.PHP_EOL.PHP_EOL; } else { die("");