MDL-36903 Pre-check the ZIP download before executing the mdeploy.php utility
authorDavid Mudrák <david@moodle.com>
Fri, 30 Nov 2012 12:12:29 +0000 (13:12 +0100)
committerDavid Mudrák <david@moodle.com>
Fri, 30 Nov 2012 15:09:58 +0000 (16:09 +0100)
commit30e26827560bd55e0bdad6b58c5c8445c06f9416
treef556231814a78f6029198a22e788242ba5ad197c
parent4785c45dd809fb561ce1ec6b7d07735526f6c15c
MDL-36903 Pre-check the ZIP download before executing the mdeploy.php utility

This patch makes Moodle call HTTP HEAD method via cURL to see if the ZIP
is expected to be downloadable by mdeploy.php. This is mainly intended
for SSL certificates check.
admin/renderer.php
lang/en/plugin.php
lib/pluginlib.php