/[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.24 by sysadm, Fri May 16 17:14:58 2008 UTC Revision 1.34 by sysadm, Fri Mar 28 10:31:26 2025 UTC
# Line 1  Line 1 
1  <?  <?
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_innd_uid           =       2333;          $BBS_default_cid                        =       1;
6          $BBS_default_cid        =       1;          $BBS_default_sid                        =       4;
7          $BBS_default_sid        =       4;          $BBS_name                                       =       "枫林在线论坛";
8          $BBS_host_name          =       "www.fenglin.info";          $BBS_host_name                          =       "www.fenglin.info";
9          $BBS_license_dt         =       strtotime("2004-06-14 22:30:00");          $BBS_license_dt                         =       "2025-03-02 10:00:00";
10          $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;  
11          $BBS_no_limit_users                     =       array(          $BBS_no_limit_users                     =       array(
12                  1,              //Admin                 ϵͳԱ                  1,              //Admin                 系统管理员
13                  600,    //diliver               Զϵͳ                  600,    //diliver               自动发信系统
14                  2333,   //cn.bbs                תϵͳʺ                  2333,   //cn.bbs                转信系统帐号
15                  5758,   //SYSOP                 վίԱ                  5758,   //SYSOP                 站务委员会
16                  5755,   //Arbitrator    ٲίԱ                  5755,   //Arbitrator    仲裁委员会
17                  7595    //BMS                   Ա                  7595    //BMS                   版主管理员
18          );          );
19    
20          $BBS_user_off_line                      =       60*15;          $BBS_session_lifetime           =       60 * 60 * 24 * 7;
21          $BBS_session_time_out           =       60*60*2;          $BBS_user_off_line                      =       60 * 15;
22            $BBS_keep_alive_interval        =       60;
23            $BBS_check_msg_interval         =       30;
24    
25            $BBS_rpp_options                        =       array(
26                    10,
27                    20,
28                    30,
29                    50
30            );
31    
32          $SYS_proxy_ip = array(          $BBS_exp                                        = array(
33                  "^61.129.42.218$",                  PHP_INT_MIN,    // 0
34                  "^61.129.42.19[0-9]$",                  50,                             // 1
35                  "^69.61.80.144$"                  200,                    // 2
36                    500,                    // 3
37                    1000,                   // 4
38                    2000,                   // 5
39                    5000,                   // 6
40                    10000,                  // 7
41                    20000,                  // 8
42                    30000,                  // 9
43                    50000,                  // 10
44                    60000,                  // 11
45                    70000,                  // 12
46                    80000,                  // 13
47                    90000,                  // 14
48                    100000,                 // 15
49                    PHP_INT_MAX,    // 16
50          );          );
51    
52          $SYS_proxy_allow_ip = array(          $BBS_level                                      = array(
53                  "^127.0.0.1$",                  "新手上路",         // 0
54                  "^10.",                  "初来乍练",         // 1
55                  "^192.168."                  "白手起家",         // 2
56                    "略懂一二",         // 3
57                    "小有作为",         // 4
58                    "对答如流",         // 5
59                    "精于此道",         // 6
60                    "博大精深",         // 7
61                    "登峰造极",         // 8
62                    "论坛砥柱",         // 9
63                    "☆☆☆☆☆",        // 10
64                    "★☆☆☆☆",        // 11
65                    "★★☆☆☆",        // 12
66                    "★★★☆☆",        // 13
67                    "★★★★☆",        // 14
68                    "★★★★★",        // 15
69          );          );
70            
71            $BBS_life_immortal                      = array(
72                    333,
73                    365,
74                    666,
75                    999,
76            );
77    
78            $BBS_user_purge_duration        =       365;
79            $BBS_normal_log_retention       =       60;
80            $BBS_critical_log_retention     =       365;
81            $BBS_user_msg_retention         =       60;
82            $BBS_new_article_period         =       14;
83    
84          $PHP_bin = "php";          $PHP_bin = "php";
85  ?>  ?>


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

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