S2OJ/uoj/1/app/.default-config.php

57 lines
1.2 KiB
PHP
Raw Normal View History

2016-11-17 02:08:31 +00:00
<?php
return [
'database' => [
'database' => 'app_uoj233',
'username' => 'root',
'password' => '',
'host' => '127.0.0.1'
],
'web' => [
'domain' => null,
'main' => [
'protocol' => 'http',
2017-03-30 00:03:31 +00:00
'host' => isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''),
2016-11-17 02:08:31 +00:00
'port' => 80
],
'blog' => [
'protocol' => 'http',
2017-03-30 00:03:31 +00:00
'host' => isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''),
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' => [
'ICP-license' => false,
2017-03-30 00:03:31 +00:00
'web-analytics' => false,
'blog-use-subdomain' => false
2016-11-17 02:08:31 +00:00
]
];