diff options
author | Sem <sembrestels@riseup.net> | 2012-08-01 15:00:10 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-08-01 15:00:10 +0200 |
commit | 7f3804f2077c40f1960c717478dece778161c05c (patch) | |
tree | f19fa5f6405b506294a5f4233596cd9381c95bab /views/default/js/lightbox.php | |
parent | 1bd6ef7e6b6a56ac30dc4b7b1daa9b924a5eddd7 (diff) | |
download | elgg-7f3804f2077c40f1960c717478dece778161c05c.tar.gz elgg-7f3804f2077c40f1960c717478dece778161c05c.tar.bz2 |
Fixed plugin portability bugs.
Diffstat (limited to 'views/default/js/lightbox.php')
-rw-r--r-- | views/default/js/lightbox.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/js/lightbox.php b/views/default/js/lightbox.php index 85fd2b717..a7beaadcc 100644 --- a/views/default/js/lightbox.php +++ b/views/default/js/lightbox.php @@ -36,6 +36,6 @@ elgg.register_hook_handler('init', 'system', elgg.ui.lightbox.init); <?php -$js_path = elgg_get_config('path'); -$js_path = "{$js_path}vendors/jquery/colorbox/colorbox/jquery.colorbox-min.js"; +$js_path = elgg_get_plugins_path(); +$js_path = "{$js_path}colorbox/vendors/jquery/colorbox/colorbox/jquery.colorbox-min.js"; include $js_path; |