MDL-55253 mod_choice: prevent direct script access to lib files.

This commit is contained in:
Stephen Bourget
2016-07-25 09:40:43 +01:00
committed by Dan Poltawski
parent 180c475961
commit 7e8203ec65
+2
View File
@@ -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;