/[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.31 by sysadm, Wed Mar 26 05:19:19 2025 UTC Revision 1.35 by sysadm, Sat Mar 29 03:48:57 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    
11          $BBS_max_login_per_user         =       2;          $BBS_no_limit_users                     =       array(
         $BBS_max_login_per_ip           =       5;  
         $BBS_max_session_per_ip         =       10;  
         static $BBS_no_limit_users      =       array(  
12                  1,              //Admin                 系统管理员                  1,              //Admin                 系统管理员
13                  600,    //diliver               自动发信系统                  600,    //diliver               自动发信系统
14                  2333,   //cn.bbs                转信系统帐号                  2333,   //cn.bbs                转信系统帐号
# Line 20  Line 17 
17                  7595    //BMS                   版主管理员                  7595    //BMS                   版主管理员
18          );          );
19    
20            $BBS_session_lifetime           =       60 * 60 * 24 * 7;
21          $BBS_user_off_line                      =       60 * 15;          $BBS_user_off_line                      =       60 * 15;
22          $BBS_session_time_out           =       60 * 60 * 2;          $BBS_keep_alive_interval        =       60;
23            $BBS_check_msg_interval         =       30;
24    
25          static $BBS_rpp_options         =       array(          $BBS_rpp_options                        =       array(
26                  10,                  10,
27                  20,                  20,
28                  30,                  30,
29                  50                  50
30          );          );
31    
32          static $BBS_exp                         = array(          $BBS_exp                                        = array(
33                  PHP_INT_MIN,    // 0                  PHP_INT_MIN,    // 0
34                  50,                             // 1                  50,                             // 1
35                  200,                    // 2                  200,                    // 2
# Line 50  Line 49 
49                  PHP_INT_MAX,    // 16                  PHP_INT_MAX,    // 16
50          );          );
51    
52          static $BBS_level                       = array(          $BBS_level                                      = array(
53                  "新手上路",         // 0                  "新手上路",         // 0
54                  "初来乍练",         // 1                  "初来乍练",         // 1
55                  "白手起家",         // 2                  "白手起家",         // 2
# Line 69  Line 68 
68                  "★★★★★",        // 15                  "★★★★★",        // 15
69          );          );
70    
71            $BBS_life_immortal                      = array(
72                    333,
73                    365,
74                    666,
75                    999,
76            );
77    
78          $BBS_user_purge_duration        =       365;          $BBS_user_purge_duration        =       365;
79            $BBS_article_purge_duration     =       180;
80          $BBS_normal_log_retention       =       60;          $BBS_normal_log_retention       =       60;
81          $BBS_critical_log_retention     =       365;          $BBS_critical_log_retention     =       365;
82          $BBS_user_msg_retention         =       60;          $BBS_user_msg_retention         =       60;


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

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