/[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.37 by sysadm, Mon Mar 31 13:59:06 2025 UTC Revision 1.46 by sysadm, Thu Apr 17 00:56:12 2025 UTC
# Line 9  Line 9 
9          $BBS_license_dt                         =       "2025-03-02 10:00:00";          $BBS_license_dt                         =       "2025-03-02 10:00:00";
10          $BBS_copyright_duration         =       "2001-2025";          $BBS_copyright_duration         =       "2001-2025";
11    
         $BBS_no_limit_users                     =       array(  
                 1,              //Admin                 系统管理员  
                 600,    //diliver               自动发信系统  
                 2333,   //cn.bbs                转信系统帐号  
                 5758,   //SYSOP                 站务委员会  
                 5755,   //Arbitrator    仲裁委员会  
                 7595    //BMS                   版主管理员  
         );  
   
12          $BBS_max_user_per_email         =       3;          $BBS_max_user_per_email         =       3;
13    
14          $BBS_session_lifetime           =       60 * 60 * 24 * 7;          $BBS_session_lifetime           =       60 * 60 * 24 * 7;
# Line 25  Line 16 
16          $BBS_keep_alive_interval        =       60;          $BBS_keep_alive_interval        =       60;
17          $BBS_check_msg_interval         =       30;          $BBS_check_msg_interval         =       30;
18    
19          $BBS_rpp_options                        =       array(          $BBS_list_rpp_options           =       array(
20                  10,                  10,
21                  20,                  20,
22                  30,                  30,
23                  50                  50,
24            );
25    
26            $BBS_view_rpp_options           =       array(
27                    1,
28                    5,
29                    10,
30                    20,
31          );          );
32    
33          $BBS_exp                                        = array(          $BBS_exp                                        = array(
# Line 78  Line 76 
76                  999,                  999,
77          );          );
78    
79          $BBS_user_purge_duration        =       365;          $BBS_emoji_count                        =       57;
80            $BBS_upload_count_limit         =       3;
81            $BBS_upload_size_limit          =       2; // MB
82    
83            $BBS_exp_score_rate                     =       100;
84            $BBS_score_transfer_fee         =       0.1; // 10%
85            $BBS_nickname_change_fee        =       2;
86            
87            $BBS_user_purge_duration        =       7;
88          $BBS_article_purge_duration     =       180;          $BBS_article_purge_duration     =       180;
89          $BBS_normal_log_retention       =       60;          $BBS_normal_log_retention       =       60;
90          $BBS_critical_log_retention     =       365;          $BBS_critical_log_retention     =       365;
91          $BBS_user_msg_retention         =       60;          $BBS_user_msg_retention         =       60;
92          $BBS_new_article_period         =       14;          $BBS_new_article_period         =       14600; // 40 years
93    
94            // PHP CLI path
95            $PHP_bin                                        =       "php";
96    
97            // Keep this consistent with $DB_session_timezone in db_open.conf.php
98            $BBS_timezone                           =       'Asia/Shanghai';
99            $BBS_runtime_tz                         =       new DateTimeZone($BBS_timezone);
100    
101          $PHP_bin = "php";          // Assume DateTime fields retrieved from DB are in $BBS_runtime_tz timezone
102            date_default_timezone_set($BBS_timezone);
103  ?>  ?>


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

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