/[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.45 by sysadm, Fri Apr 11 11:52:52 2025 UTC Revision 1.56 by sysadm, Tue Dec 2 11:55:59 2025 UTC
# Line 1  Line 1 
1  <?  <?php
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                          =       "FengLin.info";
         $BBS_license_dt                         =       "2025-03-02 10:00:00";  
9          $BBS_copyright_duration         =       "2001-2025";          $BBS_copyright_duration         =       "2001-2025";
10    
11          $BBS_max_user_per_email         =       3;          $BBS_max_user_per_email         =       3;
# Line 30  Line 29 
29                  20,                  20,
30          );          );
31    
32            $BBS_msg_rpp_options            =       array(
33                    5,
34                    10,
35                    20,
36                    30,
37            );
38    
39          $BBS_exp                                        = array(          $BBS_exp                                        = array(
40                  PHP_INT_MIN,    // 0                  PHP_INT_MIN,    // 0
41                  50,                             // 1                  50,                             // 1
# Line 47  Line 53 
53                  80000,                  // 13                  80000,                  // 13
54                  90000,                  // 14                  90000,                  // 14
55                  100000,                 // 15                  100000,                 // 15
                 PHP_INT_MAX,    // 16  
56          );          );
57    
58          $BBS_level                                      = array(          $BBS_level                                      = array(
# Line 80  Line 85 
85          $BBS_upload_count_limit         =       3;          $BBS_upload_count_limit         =       3;
86          $BBS_upload_size_limit          =       2; // MB          $BBS_upload_size_limit          =       2; // MB
87    
88            $BBS_img_max_width                      =       750;
89            
90          $BBS_exp_score_rate                     =       100;          $BBS_exp_score_rate                     =       100;
91          $BBS_score_transfer_fee         =       0.1; // 10%          $BBS_score_transfer_fee         =       0.1; // 10%
92          $BBS_nickname_change_fee        =       2;          $BBS_nickname_change_fee        =       2;
93            
94            $BBS_stat_gen_interval          =       60 * 60 * 8; // 8 hours
95    
96          $BBS_user_purge_duration        =       7;          $BBS_user_purge_duration        =       7;
97          $BBS_article_purge_duration     =       180;          $BBS_article_purge_duration     =       180;
98          $BBS_normal_log_retention       =       60;          $BBS_normal_log_retention       =       60;
99          $BBS_critical_log_retention     =       365;          $BBS_critical_log_retention     =       365;
100          $BBS_user_msg_retention         =       60;          $BBS_user_msg_retention         =       60;
101          $BBS_new_article_period         =       14;          $BBS_new_article_period         =       365 * 40; // 40 years
102    
103          // PHP CLI path          // PHP CLI path
104          $PHP_bin                                        =       "php";          $PHP_bin                                        =       "php";
# Line 100  Line 109 
109    
110          // Assume DateTime fields retrieved from DB are in $BBS_runtime_tz timezone          // Assume DateTime fields retrieved from DB are in $BBS_runtime_tz timezone
111          date_default_timezone_set($BBS_timezone);          date_default_timezone_set($BBS_timezone);
 ?>  


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

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