MDL-55253 mod_choice: prevent direct script access to lib files.
This commit is contained in:
committed by
Dan Poltawski
parent
180c475961
commit
7e8203ec65
@@ -21,6 +21,8 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/** @global int $CHOICE_COLUMN_HEIGHT */
|
||||
global $CHOICE_COLUMN_HEIGHT;
|
||||
$CHOICE_COLUMN_HEIGHT = 300;
|
||||
|
||||
Reference in New Issue
Block a user