From df29a7d7076e986284e39b3612306d4c5d93a074 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 29 Oct 2012 16:03:45 -0200 Subject: Using libraries_get_path() --- timelinejs.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'timelinejs.module') 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'; -- cgit v1.2.3