summaryrefslogtreecommitdiff
path: root/editservice.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 /editservice.php
parent74c106aa87511594110ef57290a435e1c288a410 (diff)
downloadlocal_webhooks-9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb.tar.xz
local_webhooks-9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb.zip
Additional check of variables
Diffstat (limited to 'editservice.php')
-rw-r--r--editservice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/editservice.php b/editservice.php
index 3c57507..e8ebcae 100644
--- a/editservice.php
+++ b/editservice.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(__DIR__ . "/classes/editform.php");
require_once($CFG->libdir . "/adminlib.php");