摘要:
1. 创建配置文件protected/config/main.php 1 <?php 2 3 // This is the main Web application configuration. Any writable 4 // CWebApplication properties can be configured here. 5 return array( 6 7 // preloading 'log' component 8 'preload'=>array('log'), 9 10 // application compon 阅读全文