aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/lightbox.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js/lightbox.php')
-rw-r--r--views/default/js/lightbox.php4
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;