MDL-12886 adding killswitch for webservices - again!

This commit is contained in:
skodak
2009-01-15 17:22:50 +00:00
parent a343b13f59
commit ad673afece
@@ -13,6 +13,10 @@
require_once("../../../config.php");
require_once ('lib.php');
if (empty($CFG->enablewebservices)) {
die;
}
$CFG->serverurl = $CFG->wwwroot.'/webservice/rest/server.php';
if (!function_exists('curl_init')) die ('CURL library was not found!');