diff --git a/rubref.php b/rubref.php index 5467ea5..a8b29f9 100644 --- a/rubref.php +++ b/rubref.php @@ -22,6 +22,8 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ + defined('MOODLE_INTERNAL') || die(); + require(__DIR__ . '../../../config.php'); require_once(__DIR__ . '/../../report/advancedgrading/locallib.php'); require_once(__DIR__ . '/../../lib/excellib.class.php'); diff --git a/rubric.php b/rubric.php index 25a2897..b97c484 100644 --- a/rubric.php +++ b/rubric.php @@ -22,6 +22,8 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ + defined('MOODLE_INTERNAL') || die(); + require(__DIR__ . '../../../config.php'); require_once(__DIR__ . '/../../report/advancedgrading/locallib.php'); require_once(__DIR__ . '/../../lib/excellib.class.php');