Browse Source

Corrected default paths for Twig and Smarty

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
74185cb7fc
  1. 2
      framework/renderers/SmartyViewRenderer.php
  2. 2
      framework/renderers/TwigViewRenderer.php

2
framework/renderers/SmartyViewRenderer.php

@ -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.

2
framework/renderers/TwigViewRenderer.php

@ -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.

Loading…
Cancel
Save