params.php 712 B

12345678910111213141516171819
  1. <?php
  2. // this contains the application parameters that can be maintained via GUI
  3. return array(
  4. // this is displayed in the header section
  5. 'title'=>'My Yii Blog',
  6. // this is used in error pages
  7. 'adminEmail'=>'webmaster@example.com',
  8. // number of posts displayed per page
  9. 'postsPerPage'=>10,
  10. // maximum number of comments that can be displayed in recent comments portlet
  11. 'recentCommentCount'=>10,
  12. // maximum number of tags that can be displayed in tag cloud portlet
  13. 'tagCloudCount'=>20,
  14. // whether post comments need to be approved before published
  15. 'commentNeedApproval'=>true,
  16. // the copyright information displayed in the footer section
  17. 'copyrightInfo'=>'Copyright &copy; 2009 by My Company.',
  18. );