diff --git a/composer.json b/composer.json
index 9dfbd4f966761cb12884ab8a19780fdff5cf7f6a..980628812a9fda5003e9a11d98225679485da7c6 100644
--- a/composer.json
+++ b/composer.json
@@ -1,6 +1,6 @@
 {
     "name": "vtigercrm",
     "require": {
-        
+        "smarty/smarty": "3.1.29"
     }
 }
diff --git a/includes/runtime/Viewer.php b/includes/runtime/Viewer.php
index e078a881a4461373627338853a2d4bb3e8500ae2..6efb221f24526de054990a0b410f75a0a880d7f0 100644
--- a/includes/runtime/Viewer.php
+++ b/includes/runtime/Viewer.php
@@ -8,7 +8,7 @@
  * All Rights Reserved.
  ************************************************************************************/
 
-vimport ('~/libraries/Smarty/libs/SmartyBC.class.php');
+vimport ('~/vendor/smarty/smarty/libs/SmartyBC.class.php');
 
 class Vtiger_Viewer extends SmartyBC {