 dfed.module |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dfed.module b/dfed.module
index fe17aa4..66eb229 100644
--- a/dfed.module
+++ b/dfed.module
@@ -10,7 +10,8 @@
  */
 function dfed_init() {
   if (!path_is_admin(current_path())) {
-    drupal_add_js(drupal_get_path('module', 'dfed') . '/js/dfed.js');
-    drupal_add_css(drupal_get_path('module', 'dfed') . '/css/dfed.css');
+    $base = drupal_get_path('module', 'dfed');
+    drupal_add_js($base . '/js/dfed.js');
+    drupal_add_css($base . '/css/dfed.css');
   }
 }
