<?php 'view'=>'FLEA_View_Smarty', 'viewConfig'=>array( 'smartyDir'=> ROOT_DIR .'/lib/Smarty', 'template_dir'=> ROOT_DIR .'/www', 'compile_dir'=> ROOT_DIR .'/templates_c', 'left_delimiter'=>'{{', 'right_delimiter'=>'}}', ), <?php //SMARTY使用 function actionSmarty() { $this->_executeView('demo_smarty.php',array('$test'=>'I can user SMARTY.')); } I can user SMARTY.