2016-11-17 02:08:31 +00:00
|
|
|
<?php
|
|
|
|
return [
|
2017-04-05 16:31:02 +00:00
|
|
|
'profile' => [
|
|
|
|
'oj-name' => 'Universal Online Judge',
|
2017-04-06 05:00:17 +00:00
|
|
|
'oj-name-short' => 'UOJ',
|
|
|
|
'administrator' => 'admin',
|
|
|
|
'admin-email' => 'admin@uoj',
|
|
|
|
'qq-group' => '',
|
|
|
|
'ICP-license' => ''
|
2017-04-05 16:31:02 +00:00
|
|
|
],
|
2016-11-17 02:08:31 +00:00
|
|
|
'database' => [
|
|
|
|
'database' => 'app_uoj233',
|
|
|
|
'username' => 'root',
|
|
|
|
'password' => '',
|
|
|
|
'host' => '127.0.0.1'
|
|
|
|
],
|
|
|
|
'web' => [
|
|
|
|
'domain' => null,
|
|
|
|
'main' => [
|
|
|
|
'protocol' => 'http',
|
2017-04-05 16:31:02 +00:00
|
|
|
'host' => UOJContext::httpHost(),
|
2016-11-17 02:08:31 +00:00
|
|
|
'port' => 80
|
|
|
|
],
|
|
|
|
'blog' => [
|
|
|
|
'protocol' => 'http',
|
2017-04-05 16:31:02 +00:00
|
|
|
'host' => UOJContext::httpHost(),
|
2016-11-17 02:08:31 +00:00
|
|
|
'port' => 80
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'security' => [
|
|
|
|
'user' => [
|
|
|
|
'client_salt' => 'salt0'
|
|
|
|
],
|
|
|
|
'cookie' => [
|
|
|
|
'checksum_salt' => ['salt1', 'salt2', 'salt3']
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'mail' => [
|
|
|
|
'noreply' => [
|
|
|
|
'username' => 'noreply@none',
|
|
|
|
'password' => 'noreply',
|
|
|
|
'host' => 'smtp.sina.com',
|
|
|
|
'secure' => '',
|
|
|
|
'port' => 25
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'judger' => [
|
|
|
|
'socket' => [
|
|
|
|
'port' => '233',
|
|
|
|
'password' => 'password233'
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'svn' => [
|
|
|
|
'our-root' => [
|
|
|
|
'username' => 'our-root',
|
|
|
|
'password' => 'our-root'
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'switch' => [
|
2017-03-30 00:03:31 +00:00
|
|
|
'web-analytics' => false,
|
|
|
|
'blog-use-subdomain' => false
|
2016-11-17 02:08:31 +00:00
|
|
|
]
|
|
|
|
];
|