diff --git a/sites/all/modules/contrib/views_rss/views/views_rss.views.inc b/sites/all/modules/contrib/views_rss/views/views_rss.views.inc
index 9d6ad95..65584ff 100644
--- a/sites/all/modules/contrib/views_rss/views/views_rss.views.inc
+++ b/sites/all/modules/contrib/views_rss/views/views_rss.views.inc
@@ -17,10 +17,10 @@ function views_rss_views_plugins() {
         'title' => t('RSS Feed - Fields'),
         'help' => t('Outputs a RSS formatted feed'),
         'handler' => 'views_rss_plugin_style_fields',
-        'path' => VIEWS_RSS_PATH . '/views',
+        'path' => views_rss_path() . '/views',
         'theme' => 'views_view_views_rss',
         'theme file' => 'theme.inc',
-        'theme path' => VIEWS_RSS_PATH . '/theme',
+        'theme path' => views_rss_path() . '/theme',
         'uses row plugin' => FALSE,
         'uses fields' => TRUE,
         'uses options' => TRUE,
@@ -36,7 +36,7 @@ function views_rss_views_plugins() {
 function views_rss_views_handlers() {
   return array(
     'info' => array(
-      'path' => VIEWS_RSS_PATH . '/views',
+      'path' => views_rss_path() . '/views',
     ),
     'handlers' => array(
       'views_rss_handler_field_user_mail' => array(
@@ -51,4 +51,4 @@ function views_rss_views_handlers() {
  */
 function views_rss_views_data_alter(&$data) {
   $data['users']['mail']['field']['handler'] = 'views_rss_handler_field_user_mail';
-}
\ No newline at end of file
+}
diff --git a/sites/all/modules/contrib/views_rss/views_rss.module b/sites/all/modules/contrib/views_rss/views_rss.module
index f80a0bc..b43eadb 100644
--- a/sites/all/modules/contrib/views_rss/views_rss.module
+++ b/sites/all/modules/contrib/views_rss/views_rss.module
@@ -11,11 +11,6 @@
 define('VIEWS_RSS_BUILD', '7.x-2.x-dev-20120306');
 
 /**
- * Module installation path.
- */
-define('VIEWS_RSS_PATH', drupal_get_path('module', 'views_rss'));
-
-/**
  * In theory, theme.inc should be automatically loaded from hook_views_plugins()
  * implementation in views_rss.views.inc - which usually is the case, apart from
  * when "Rescan template files" in view configuration is used, when new template
@@ -23,7 +18,18 @@ define('VIEWS_RSS_PATH', drupal_get_path('module', 'views_rss'));
  * template_preprocess_views_view_views_rss() is not available, and we're getting
  * "Array" instead of proper feed data as a result.
  */
-include_once VIEWS_RSS_PATH . '/theme/theme.inc';
+include_once 'theme/theme.inc';
+
+/**
+ * Return Module installation path.
+ */
+function views_rss_path() {
+  static $path;
+  if (empty($path)) {
+    $path = drupal_get_path('module', 'views_rss');
+  }
+  return $path;
+}
 
 /**
  * Implements hook_views_api().
@@ -31,7 +37,7 @@ include_once VIEWS_RSS_PATH . '/theme/theme.inc';
 function views_rss_views_api() {
   return array(
     'api' => 3,
-    'path' => VIEWS_RSS_PATH . '/views',
+    'path' => views_rss_path() . '/views',
   );
 }
 
@@ -43,7 +49,7 @@ function views_rss_theme() {
     'views_view_views_rss_fields' => array(
       'template' => 'views-view-views-rss-fields',
       'file' => 'theme.inc',
-      'path' => VIEWS_RSS_PATH . '/theme',
+      'path' => views_rss_path() . '/theme',
       'variables' => array(
         'row' => NULL,
         'view' => NULL,
@@ -52,7 +58,7 @@ function views_rss_theme() {
     'views_view_views_rss_field' => array(
       'template' => 'views-view-views-rss-field',
       'file' => 'theme.inc',
-      'path' => VIEWS_RSS_PATH . '/theme',
+      'path' => views_rss_path() . '/theme',
       'variables' => array(
         'elements' => NULL,
         'element' => NULL,
@@ -196,4 +202,4 @@ function views_rss_htmlspecialchars(&$element) {
   if (isset($element['value']) && !is_array($element['value'])) {
     $element['value'] = check_plain(htmlspecialchars_decode($element['value'], ENT_QUOTES));
   }
-}
\ No newline at end of file
+}
