Additional check of variables

This commit is contained in:
Valentin Popov 2017-10-27 12:51:58 +04:00
parent 74c106aa87
commit 9e1c2cca4e
3 changed files with 5 additions and 0 deletions

View File

@ -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");

View File

@ -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");

View File

@ -23,6 +23,7 @@
*/
defined("MOODLE_INTERNAL") || die();
$plugin->release = "1.0.0 (Build: 2017102700)";
$plugin->version = 2017102700;
$plugin->requires = 2016112900;