S2OJ/web/app/.default-config.php

63 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2016-07-18 16:39:37 +00:00
<?php
return [
'profile' => [
'oj-name' => 'Universal Online Judge',
'oj-name-short' => 'UOJ',
'administrator' => 'root',
'admin-email' => 'admin@local_uoj.ac',
'QQ-group' => '',
'ICP-license' => ''
],
2016-07-18 16:39:37 +00:00
'database' => [
'database' => 'app_uoj233',
2016-07-18 16:39:37 +00:00
'username' => 'root',
'password' => '_database_password_',
2016-07-18 16:39:37 +00:00
'host' => '127.0.0.1'
],
'web' => [
'domain' => null,
'main' => [
'protocol' => 'http',
'host' => '_httpHost_',
2016-07-18 16:39:37 +00:00
'port' => 80
],
'blog' => [
'protocol' => 'http',
'host' => '_httpHost_',
2016-07-18 16:39:37 +00:00
'port' => 80
]
],
'security' => [
'user' => [
'client_salt' => 'salt0'
],
'cookie' => [
'checksum_salt' => ['salt1', 'salt2', 'salt3']
],
],
'mail' => [
'noreply' => [
'username' => 'noreply@local_uoj.ac',
'password' => '_mail_noreply_password_',
'host' => 'smtp.local_uoj.ac',
'secure' => 'tls',
'port' => 587
2016-07-18 16:39:37 +00:00
]
],
'judger' => [
'socket' => [
'port' => '233',
'password' => '_judger_socket_password_'
2016-07-18 16:39:37 +00:00
]
],
'switch' => [
'web-analytics' => false,
'blog-domain-mode' => 3
2020-08-07 09:22:30 +00:00
],
'tools' => [
// 请仅在https下启用以下功能.
// 非https下, chrome无法进行复制.
'map-copy-enabled' => false,
2016-07-18 16:39:37 +00:00
]
];