/[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.41 by sysadm, Sat Apr 5 04:10:16 2025 UTC Revision 1.46 by sysadm, Thu Apr 17 00:56:12 2025 UTC
# Line 79  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_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;          $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