mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
@@ -47,7 +47,7 @@ return array(
|
|||||||
'components' => array(
|
'components' => array(
|
||||||
'view' => array(
|
'view' => array(
|
||||||
'class' => 'yii\base\View',
|
'class' => 'yii\base\View',
|
||||||
'viewRenderers' => array(
|
'renderers' => array(
|
||||||
'tpl' => array(
|
'tpl' => array(
|
||||||
'class' => 'yii\smarty\ViewRenderer',
|
'class' => 'yii\smarty\ViewRenderer',
|
||||||
//'cachePath' => '@runtime/Smarty/cache',
|
//'cachePath' => '@runtime/Smarty/cache',
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ return array(
|
|||||||
'components' => array(
|
'components' => array(
|
||||||
'view' => array(
|
'view' => array(
|
||||||
'class' => 'yii\base\View',
|
'class' => 'yii\base\View',
|
||||||
'viewRenderers' => array(
|
'renderers' => array(
|
||||||
'twig' => array(
|
'twig' => array(
|
||||||
'class' => 'yii\twig\ViewRenderer',
|
'class' => 'yii\twig\ViewRenderer',
|
||||||
//'cachePath' => '@runtime/Twig/cache',
|
//'cachePath' => '@runtime/Twig/cache',
|
||||||
|
|||||||
Reference in New Issue
Block a user