Skip to content

Commit

Permalink
MDL-55253 mod_choice: prevent direct script access to lib files.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbourget authored and danpoltawski committed Jul 25, 2016
1 parent 180c475 commit 7e8203e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/choice/lib.php
Expand Up @@ -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;
Expand Down

0 comments on commit 7e8203e

Please sign in to comment.