--- fenglin/lib/common.inc.php 2004/06/12 12:55:01 1.3 +++ fenglin/lib/common.inc.php 2008/05/16 17:14:58 1.24 @@ -2,9 +2,39 @@ //Definition of const $BBS_sys_uid = 600; $BBS_notice_sid = 39; - $BBS_trash_sid = 21; $BBS_innd_uid = 2333; $BBS_default_cid = 1; $BBS_default_sid = 4; $BBS_host_name = "www.fenglin.info"; + $BBS_license_dt = strtotime("2004-06-14 22:30:00"); + $BBS_license_file = strftime("%Y%m%d.txt",$BBS_license_dt); + + $BBS_max_login_per_user = 2; + $BBS_max_login_per_ip = 5; + $BBS_max_session_per_ip = 10; + $BBS_no_limit_users = array( + 1, //Admin 系统管理员 + 600, //diliver 自动发信系统 + 2333, //cn.bbs 转信系统帐号 + 5758, //SYSOP 站务委员会 + 5755, //Arbitrator 仲裁委员会 + 7595 //BMS 版主管理员 + ); + + $BBS_user_off_line = 60*15; + $BBS_session_time_out = 60*60*2; + + $SYS_proxy_ip = array( + "^61.129.42.218$", + "^61.129.42.19[0-9]$", + "^69.61.80.144$" + ); + + $SYS_proxy_allow_ip = array( + "^127.0.0.1$", + "^10.", + "^192.168." + ); + + $PHP_bin = "php"; ?>