--- fenglin/lib/common.inc.php 2008/05/16 17:14:58 1.24 +++ fenglin/lib/common.inc.php 2025/05/07 09:22:26 1.52 @@ -1,40 +1,113 @@ - + $BBS_exp_score_rate = 100; + $BBS_score_transfer_fee = 0.1; // 10% + $BBS_nickname_change_fee = 2; + + $BBS_stat_gen_interval = 60 * 60 * 8; // 8 hours + + $BBS_user_purge_duration = 7; + $BBS_article_purge_duration = 180; + $BBS_normal_log_retention = 60; + $BBS_critical_log_retention = 365; + $BBS_user_msg_retention = 60; + $BBS_new_article_period = 365 * 40; // 40 years + + // PHP CLI path + $PHP_bin = "php"; + + // Keep this consistent with $DB_session_timezone in db_open.conf.php + $BBS_timezone = 'Asia/Shanghai'; + $BBS_runtime_tz = new DateTimeZone($BBS_timezone); + + // Assume DateTime fields retrieved from DB are in $BBS_runtime_tz timezone + date_default_timezone_set($BBS_timezone);