S2OJ/uoj/1/app/.default-config.php
2017-04-07 11:16:33 +08:00

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
]
];