Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
cf607886
Commit
cf607886
authored
Feb 04, 2016
by
Robert Lyon
Committed by
Gerrit Code Review
Feb 04, 2016
Browse files
Merge "Prevent crashes when embedding images"
parents
795ae376
3f4b4b7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/embeddedimage.php
View file @
cf607886
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment