Commit 563243a4 by Carsten Brandt

Merge branch 'master' of github.com:yiisoft/yii2

* 'master' of github.com:yiisoft/yii2: Corrected default paths for Twig and Smarty
parents 6faf8344 74185cb7
...@@ -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