mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-15 09:58:42 +00:00
57 lines
1.2 KiB
PHP
57 lines
1.2 KiB
PHP
<?php
|
|
return [
|
|
'database' => [
|
|
'database' => 'app_uoj233',
|
|
'username' => 'root',
|
|
'password' => '',
|
|
'host' => '127.0.0.1'
|
|
],
|
|
'web' => [
|
|
'domain' => null,
|
|
'main' => [
|
|
'protocol' => 'http',
|
|
'host' => isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''),
|
|
'port' => 80
|
|
],
|
|
'blog' => [
|
|
'protocol' => 'http',
|
|
'host' => isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''),
|
|
'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' => [
|
|
'ICP-license' => false,
|
|
'web-analytics' => false,
|
|
'blog-use-subdomain' => false
|
|
]
|
|
];
|