/[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.22 by sysadm, Fri Feb 16 05:52:32 2007 UTC Revision 1.32 by sysadm, Thu Mar 27 12:30:12 2025 UTC
# Line 2  Line 2 
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;
         $BBS_innd_uid           =       2333;  
5          $BBS_default_cid        =       1;          $BBS_default_cid        =       1;
6          $BBS_default_sid        =       4;          $BBS_default_sid        =       4;
7            $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         =       strtotime("2025-03-02 10:00:00");
         $BBS_license_file       =       strftime("%Y%m%d.txt",$BBS_license_dt);  
10    
11          $BBS_max_login_per_user         =       2;          static $BBS_no_limit_users      =       array(
12          $BBS_max_login_per_ip           =       5;                  1,              //Admin                 系统管理员
13          $BBS_max_session_per_ip         =       10;                  600,    //diliver               自动发信系统
14          $BBS_no_limit_users                     =       array(                  2333,   //cn.bbs                转信系统帐号
15                  1,              //Admin                 ϵͳԱ                  5758,   //SYSOP                 站务委员会
16                  600,    //diliver               Զϵͳ                  5755,   //Arbitrator    仲裁委员会
17                  2333,   //cn.bbs                תϵͳʺ                  7595    //BMS                   版主管理员
                 5758,   //SYSOP                 վίԱ  
                 5755,   //Arbitrator    ٲίԱ  
                 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    
23          $SYS_proxy_ip = array(          static $BBS_rpp_options         =       array(
24                  "^219.228.15.34$",                  10,
25                  "^192.168.88.233$",                  20,
26                  "^61.129.42.19[0-9]$",                  30,
27                  "^72.232.208.1$"                  50
28          );          );
29    
30          $SYS_proxy_allow_ip = array(          static $BBS_exp                         = array(
31                  "^127.0.0.1$",                  PHP_INT_MIN,    // 0
32                  "^10.",                  50,                             // 1
33                  "^192.168."                  200,                    // 2
34                    500,                    // 3
35                    1000,                   // 4
36                    2000,                   // 5
37                    5000,                   // 6
38                    10000,                  // 7
39                    20000,                  // 8
40                    30000,                  // 9
41                    50000,                  // 10
42                    60000,                  // 11
43                    70000,                  // 12
44                    80000,                  // 13
45                    90000,                  // 14
46                    100000,                 // 15
47                    PHP_INT_MAX,    // 16
48          );          );
49    
50            static $BBS_level                       = array(
51                    "新手上路",         // 0
52                    "初来乍练",         // 1
53                    "白手起家",         // 2
54                    "略懂一二",         // 3
55                    "小有作为",         // 4
56                    "对答如流",         // 5
57                    "精于此道",         // 6
58                    "博大精深",         // 7
59                    "登峰造极",         // 8
60                    "论坛砥柱",         // 9
61                    "☆☆☆☆☆",        // 10
62                    "★☆☆☆☆",        // 11
63                    "★★☆☆☆",        // 12
64                    "★★★☆☆",        // 13
65                    "★★★★☆",        // 14
66                    "★★★★★",        // 15
67            );
68    
69            $BBS_user_purge_duration        =       365;
70            $BBS_normal_log_retention       =       60;
71            $BBS_critical_log_retention     =       365;
72            $BBS_user_msg_retention         =       60;
73            $BBS_new_article_period         =       14;
74    
75            $PHP_bin = "php";
76  ?>  ?>


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

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