forked from BNUACM/bnuoj-web-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
54 lines (53 loc) · 1.74 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
$statusperpage=20;
$problemperpage=25;
$mailperpage=20;
$problemcontestadd=20;
$pstatuserperpage=10;
$userperpage=25;
$maxrunid=1000000;
$conperpage=20;
$discussperpage=20;
$newsperpage=3;
$srefresh=-1;
$submitstring="yoursubmitstring";
$rejudgestring="yourrejudgestring";
$reerrorstring="yourerrorjudgestring";
$challenge_string = "yourchallengestring";
$pretest_string = "yourpreteststring";
$test_all_string = "yourtestallstring";
$server_port=5566;
$vserver_port=5907;
$db_user="bnuojuser";
$db_pass="bnuojpassword";
$db_table="bnuoj";
$db_addr="127.0.0.1";
$ojbase_url="http://localhost/v2/";
$paratypemax=6;
$mytimezone="Asia/Shanghai";
$ojoptions='<option value="BNU">BNU</option>'.
'<option value="PKU">PKU</option>'.
'<option value="CodeForces">CodeForces</option>'.
'<option value="CodeForcesGym">CodeForcesGym</option>'.
'<option value="HDU">HDU</option>'.
'<option value="UVALive">UVALive</option>'.
'<option value="SGU">SGU</option>'.
'<option value="LightOJ">LightOJ</option>'.
'<option value="Ural">Ural</option>'.
'<option value="ZJU">ZJU</option>'.
'<option value="UVA">UVA</option>'.
'<option value="SPOJ">SPOJ</option>'.
'<option value="UESTC">UESTC</option>'.
'<option value="FZU">FZU</option>'.
'<option value="NBUT">NBUT</option>'.
'<option value="WHU">WHU</option>'.
'<option value="SYSU">SYSU</option>'.
'<option value="OpenJudge">OpenJudge</option>'.
'<option value="SCU">SCU</option>'.
'<option value="HUST">HUST</option>'.
'<option value="NJUPT">NJUPT</option>'.
'<option value="Aizu">Aizu</option>'.
'<option value="ACdream">ACdream</option>'.
'<option value="CodeChef">CodeChef</option>'.
'<option value="HRBUST">HRBUST</option>';
?>