diff options
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 7dd485227..e65af1cbd 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -150,6 +150,8 @@ function elgg_register_external_file($type, $url, $id, $location) { return false; } + $url = elgg_format_url($url); + if (!isset($CONFIG->externals)) { $CONFIG->externals = array(); } |