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


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

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