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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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