Commit c3fe3e7b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Resinset check for PHP_INI fopen flag. Refs #6596.

parent e027bbc9
Pipeline #999 passed with stage
in 1 minute and 51 seconds
......@@ -40,6 +40,11 @@ class DownloadPage {
$page = $baseUrl . $page;
}
// Check php.ini
if (ini_get('allow_url_fopen') != '1') {
throw new UserReportException("php.ini: 'allow_url_fopen' is off and needs to be open to get '$page''", ERROR_DOWNLOAD_FOPEN_BLOCKED);
}
// Download page
$ctx = array(
"ssl" => array(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment