From 9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 27 Oct 2017 12:51:58 +0400 Subject: Additional check of variables --- editservice.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editservice.php') 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"); -- cgit v1.2.3