aboutsummaryrefslogtreecommitdiff
path: root/managerservice.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-27 11:51:58 +0300
committerValentin Popov <info@valentineus.link>2017-10-27 11:51:58 +0300
commit9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb (patch)
treecb39728a3c97b58ee38c1d7fd9e46ad6d6f9eac2 /managerservice.php
parent74c106aa87511594110ef57290a435e1c288a410 (diff)
downloadlocal_webhooks-9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb.tar.xz
local_webhooks-9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb.zip
Additional check of variables
Diffstat (limited to 'managerservice.php')
-rw-r--r--managerservice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/managerservice.php b/managerservice.php
index ccdb7bc..b3db5e0 100644
--- a/managerservice.php
+++ b/managerservice.php
@@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
+defined("MOODLE_INTERNAL") || die();
+
require_once(__DIR__ . "/../../config.php");
require_once($CFG->libdir . "/tablelib.php");
require_once($CFG->libdir . "/adminlib.php");