From 3965928c0e0bbc0b5c1e503d8928deb56da2c8db Mon Sep 17 00:00:00 2001 From: outkast Date: Thu, 18 Apr 2019 20:36:19 -0400 Subject: [PATCH] Correction: allow_url_fopen is not to make any distinction between HTTP/HTTPS --- install/steps/7-finish.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/steps/7-finish.php b/install/steps/7-finish.php index 7fe0f397..f3c8dafd 100644 --- a/install/steps/7-finish.php +++ b/install/steps/7-finish.php @@ -123,7 +123,9 @@ else { )); if(!isset($_SESSION['installed'])) { - file_get_contents('http' . ini_get('allow_url_fopen') ? "" : "s" .'://my-aac.org/report_install.php?v=' . MYAAC_VERSION . '&b=' . urlencode(BASE_URL)); + if(ini_get('allow_url_fopen') ) { + file_get_contents('http://my-aac.org/report_install.php?v=' . MYAAC_VERSION . '&b=' . urlencode(BASE_URL)); + } $_SESSION['installed'] = true; }