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

61 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2016-07-18 16:39:37 +00:00
<?php
return [
'profile' => [
2022-03-17 04:51:00 +00:00
'oj-name' => '石家庄二中信息学在线评测系统',
'oj-name-short' => 'S2OJ',
'administrator' => 'root',
2022-03-17 04:51:00 +00:00
'admin-email' => 'admin@sjzezoj.com',
'QQ-group' => '',
2023-11-18 14:07:13 +00:00
'ICP-license' => '',
'police-license' => '',
2022-09-21 05:27:01 +00:00
's2oj-version' => 'dev'
],
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_',
2022-03-20 04:55:01 +00:00
'host' => '127.0.0.1',
'port' => '3306',
2016-07-18 16:39:37 +00:00
],
'web' => [
'domain' => null,
'main' => [
'protocol' => 'http',
'host' => UOJContext::requestDomain(),
'port' => '80/443',
2016-07-18 16:39:37 +00:00
],
'blog' => [
'protocol' => 'http',
'host' => UOJContext::requestDomain(),
'port' => '80/443',
2016-07-18 16:39:37 +00:00
]
],
'security' => [
'user' => [
'client_salt' => 'salt0',
2016-07-18 16:39:37 +00:00
],
'cookie' => [
'checksum_salt' => ['salt1', 'salt2', 'salt3'],
2016-07-18 16:39:37 +00:00
],
],
'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' => [
'blog-domain-mode' => 3,
'open-register' => false,
],
2016-07-18 16:39:37 +00:00
];