Commit cf607886 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Prevent crashes when embedding images"

parents 795ae376 3f4b4b7f
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
*/ */
defined('INTERNAL') || die(); defined('INTERNAL') || die();
global $CFG;
require_once($CFG->docroot . '/artefact/lib.php');
class EmbeddedImage { class EmbeddedImage {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment