summaryrefslogtreecommitdiff
path: root/timelinejs.module
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2012-10-29 16:03:45 -0200
committerSilvio <silvio@socioambiental.org>2012-10-29 16:03:45 -0200
commitdf29a7d7076e986284e39b3612306d4c5d93a074 (patch)
treece9c7cead6b8981134ff37b0e786bd4f0d466e7e /timelinejs.module
parentf7d02f1c4b99b7ba5e59d9ed9cb237d469c4d84b (diff)
downloadtimelinejs-df29a7d7076e986284e39b3612306d4c5d93a074.tar.gz
timelinejs-df29a7d7076e986284e39b3612306d4c5d93a074.tar.bz2
Using libraries_get_path()
Diffstat (limited to 'timelinejs.module')
-rw-r--r--timelinejs.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/timelinejs.module b/timelinejs.module
index 04593c0..4971acb 100644
--- a/timelinejs.module
+++ b/timelinejs.module
@@ -154,7 +154,7 @@ function timelinejs($nid, $width = '960px', $height = '500px') {
global $base_url;
$theme_path = drupal_get_path('theme', $theme);
- $library_path = drupal_get_path('libraries', 'timelinejs');
+ $library_path = libraries_get_path('timelinejs');
$css = (file_exists($theme_path .'/timeline.css')) ? '/'. $theme_path .'/timeline.css' : '/'. $library_path .'/compiled/css/timeline.css';