Commit 74185cb7 by Alexander Makarov

Corrected default paths for Twig and Smarty

parent 7e0d35c3
...@@ -26,7 +26,7 @@ class SmartyViewRenderer extends ViewRenderer ...@@ -26,7 +26,7 @@ class SmartyViewRenderer extends ViewRenderer
/** /**
* @var string the directory or path alias pointing to where Smarty code is located. * @var string the directory or path alias pointing to where Smarty code is located.
*/ */
public $smartyPath = '@app/vendors/Smarty'; public $smartyPath = '@yii/vendor/smarty/smarty/distribution/libs';
/** /**
* @var string the directory or path alias pointing to where Smarty cache will be stored. * @var string the directory or path alias pointing to where Smarty cache will be stored.
......
...@@ -25,7 +25,7 @@ class TwigViewRenderer extends ViewRenderer ...@@ -25,7 +25,7 @@ class TwigViewRenderer extends ViewRenderer
/** /**
* @var string the directory or path alias pointing to where Twig code is located. * @var string the directory or path alias pointing to where Twig code is located.
*/ */
public $twigPath = '@Twig'; public $twigPath = '@yii/vendor/twig/twig/lib/Twig';
/** /**
* @var string the directory or path alias pointing to where Twig cache will be stored. * @var string the directory or path alias pointing to where Twig cache will be stored.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment