/[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.39 by sysadm, Fri Apr 4 03:01:37 2025 UTC Revision 1.44 by sysadm, Thu Apr 10 07:55:30 2025 UTC
# Line 16  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 72  Line 79 
79          $BBS_emoji_count                        =       57;          $BBS_emoji_count                        =       57;
80          $BBS_upload_count_limit         =       3;          $BBS_upload_count_limit         =       3;
81          $BBS_upload_size_limit          =       2; // MB          $BBS_upload_size_limit          =       2; // MB
82    
83            $BBS_score_transfer_fee         =       0.1; // 10%
84            $BBS_nickname_change_fee        =       2;
85                    
86          $BBS_user_purge_duration        =       365;          $BBS_user_purge_duration        =       7;
87          $BBS_article_purge_duration     =       180;          $BBS_article_purge_duration     =       180;
88          $BBS_normal_log_retention       =       60;          $BBS_normal_log_retention       =       60;
89          $BBS_critical_log_retention     =       365;          $BBS_critical_log_retention     =       365;
90          $BBS_user_msg_retention         =       60;          $BBS_user_msg_retention         =       60;
91          $BBS_new_article_period         =       14;          $BBS_new_article_period         =       14;
92    
93          $PHP_bin = "php";          // PHP CLI path
94            $PHP_bin                                        =       "php";
95    
96            // Keep this consistent with $DB_session_timezone in db_open.conf.php
97            $BBS_timezone                           =       'Asia/Shanghai';
98            $BBS_runtime_tz                         =       new DateTimeZone($BBS_timezone);
99    
100            // Assume DateTime fields retrieved from DB are in $BBS_runtime_tz timezone
101            date_default_timezone_set($BBS_timezone);
102  ?>  ?>


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

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