.config.local.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. return array (
  3. 'profile' =>
  4. array (
  5. 'oj-name' => 'Universal Online Judge',
  6. 'oj-name-short' => 'UOJ',
  7. 'administrator' => 'root',
  8. 'admin-email' => 'admin@local_uoj.ac',
  9. 'QQ-group' => '',
  10. 'ICP-license' => '',
  11. ),
  12. 'database' =>
  13. array (
  14. 'database' => 'app_uoj233',
  15. 'username' => 'root',
  16. 'password' => 'root',
  17. 'host' => 'uoj-db',
  18. ),
  19. 'web' =>
  20. array (
  21. 'domain' => NULL,
  22. 'main' =>
  23. array (
  24. 'protocol' => 'http',
  25. 'host' => UOJContext::httpHost(),
  26. 'port' => 80,
  27. ),
  28. 'blog' =>
  29. array (
  30. 'protocol' => 'http',
  31. 'host' => UOJContext::httpHost(),
  32. 'port' => 80,
  33. ),
  34. ),
  35. 'security' =>
  36. array (
  37. 'user' =>
  38. array (
  39. 'client_salt' => '_salt_0_',
  40. ),
  41. 'cookie' =>
  42. array (
  43. 'checksum_salt' =>
  44. array (
  45. 0 => '_salt_1_',
  46. 1 => '_salt_2_',
  47. 2 => '_salt_3_',
  48. ),
  49. ),
  50. ),
  51. 'mail' =>
  52. array (
  53. 'noreply' =>
  54. array (
  55. 'username' => 'noreply@local_uoj.ac',
  56. 'password' => '_mail_noreply_password_',
  57. 'host' => 'smtp.local_uoj.ac',
  58. 'secure' => 'tls',
  59. 'port' => 587,
  60. ),
  61. ),
  62. 'judger' =>
  63. array (
  64. 'socket' =>
  65. array (
  66. 'port' => '2333',
  67. 'password' => '_judger_socket_password_',
  68. ),
  69. ),
  70. 'switch' =>
  71. array (
  72. 'web-analytics' => false,
  73. 'blog-domain-mode' => 3,
  74. ),
  75. 'tools' =>
  76. array (
  77. 'map-copy-enabled' => false,
  78. ),
  79. );