diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-04 00:52:46 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-04 00:52:46 +0000 |
commit | d37535628dfc7751831fca4740162e590a6b5709 (patch) | |
tree | 7bda402578543830a88aa158e864af6b730b2683 /engine/lib/elgglib.php | |
parent | e6dedda9508150b25ea8d2bccfa8af17ebfbffec (diff) | |
download | elgg-d37535628dfc7751831fca4740162e590a6b5709.tar.gz elgg-d37535628dfc7751831fca4740162e590a6b5709.tar.bz2 |
Fixes #2210 - using new functions for registering the core js and css files
git-svn-id: http://code.elgg.org/elgg/trunk@7233 36083f99-b078-4883-b0ff-0f9b5a30f544
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(); } |