/[LeafOK_CVS]/fenglin/lib/common.inc.php
ViewVC logotype

Contents of /fenglin/lib/common.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.41 - (show annotations)
Sat Apr 5 04:10:16 2025 UTC (11 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.40: +9 -2 lines
Add rpp option for article view

1 <?
2 //Definition of const
3 $BBS_sys_uid = 600;
4 $BBS_notice_sid = 39;
5 $BBS_default_cid = 1;
6 $BBS_default_sid = 4;
7 $BBS_name = "枫林在线";
8 $BBS_host_name = "www.FengLin.info";
9 $BBS_license_dt = "2025-03-02 10:00:00";
10 $BBS_copyright_duration = "2001-2025";
11
12 $BBS_max_user_per_email = 3;
13
14 $BBS_session_lifetime = 60 * 60 * 24 * 7;
15 $BBS_user_off_line = 60 * 15;
16 $BBS_keep_alive_interval = 60;
17 $BBS_check_msg_interval = 30;
18
19 $BBS_list_rpp_options = array(
20 10,
21 20,
22 30,
23 50,
24 );
25
26 $BBS_view_rpp_options = array(
27 1,
28 5,
29 10,
30 20,
31 );
32
33 $BBS_exp = array(
34 PHP_INT_MIN, // 0
35 50, // 1
36 200, // 2
37 500, // 3
38 1000, // 4
39 2000, // 5
40 5000, // 6
41 10000, // 7
42 20000, // 8
43 30000, // 9
44 50000, // 10
45 60000, // 11
46 70000, // 12
47 80000, // 13
48 90000, // 14
49 100000, // 15
50 PHP_INT_MAX, // 16
51 );
52
53 $BBS_level = array(
54 "新手上路", // 0
55 "初来乍练", // 1
56 "白手起家", // 2
57 "略懂一二", // 3
58 "小有作为", // 4
59 "对答如流", // 5
60 "精于此道", // 6
61 "博大精深", // 7
62 "登峰造极", // 8
63 "论坛砥柱", // 9
64 "☆☆☆☆☆", // 10
65 "★☆☆☆☆", // 11
66 "★★☆☆☆", // 12
67 "★★★☆☆", // 13
68 "★★★★☆", // 14
69 "★★★★★", // 15
70 );
71
72 $BBS_life_immortal = array(
73 333,
74 365,
75 666,
76 999,
77 );
78
79 $BBS_emoji_count = 57;
80 $BBS_upload_count_limit = 3;
81 $BBS_upload_size_limit = 2; // MB
82
83 $BBS_user_purge_duration = 7;
84 $BBS_article_purge_duration = 180;
85 $BBS_normal_log_retention = 60;
86 $BBS_critical_log_retention = 365;
87 $BBS_user_msg_retention = 60;
88 $BBS_new_article_period = 14;
89
90 $PHP_bin = "php";
91 ?>

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1