mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-06-19 13:48:10 +02:00
Revert "Fix URL is blocked message when not behind a proxy/load balancer"
This reverts commit 51db933862.
This commit is contained in:
committed by
Brendan Heywood
parent
20fef09b03
commit
9bab491666
@@ -56,7 +56,7 @@ class outagelib {
|
||||
global $CFG;
|
||||
require_once($CFG->libdir . '/filelib.php');
|
||||
|
||||
$curl = new curl(['ignoresecurity' => true]);
|
||||
$curl = new curl();
|
||||
$contents = $curl->get($file);
|
||||
$info = $curl->get_info();
|
||||
if (!empty($info['content_type'])) {
|
||||
|
||||
Reference in New Issue
Block a user