PageRenderTime 44ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/heart/reborn/src/Reborn/Config/app.php

https://bitbucket.org/yelinaung/reborn
PHP | 74 lines | 20 code | 15 blank | 39 comment | 0 complexity | 1fffbf46bf93b39eeee0e2ed08b54bc2 MD5 | raw file
  1. <?php
  2. return array(
  3. /**
  4. * Base URL for Reborn CMS
  5. * URL must contain (/)
  6. *
  7. */
  8. 'base_url' => '',
  9. /**
  10. * Default Language for Reborn CMS
  11. */
  12. 'lang' => 'en',
  13. /**
  14. * Supported Language for Reborn CMS
  15. * Now only support english only
  16. *
  17. */
  18. 'support_langs' => array(
  19. 'en' => 'en',
  20. ),
  21. /**
  22. * Default Timezone for Reborn CMS
  23. */
  24. 'timezone' => 'UTC',
  25. /**
  26. * Default Locale for Reborn CMS
  27. */
  28. 'locale' => 'en',
  29. /**
  30. * Fallback Locale for Reborn CMS
  31. * Fallback locale is use on default locale is does not work.
  32. * Don't change this locale!
  33. *
  34. */
  35. 'fallback_locale' => 'en',
  36. /**
  37. * Character Encoding for Reborn CMS
  38. */
  39. 'encoding' => 'UTF-8',
  40. /**
  41. * Config Values for Event Class
  42. */
  43. 'event' => array(
  44. // If event callback is not callable, throw exception
  45. // Use for development only
  46. 'callback_throw' => false,
  47. ),
  48. /**
  49. * Config Values for Logging process
  50. */
  51. 'log' => array(
  52. // Path for saving log file
  53. 'path' => STORAGES.'Logs'.DS,
  54. // log file name use at saving process (eg: rebornlog-20121216.log)
  55. 'file_name' => 'rebornlog-'.Date('Ymd'),
  56. // Log file extension (default is .log). Don't forget "dot"!
  57. 'ext' => '.log',
  58. ),
  59. );