/[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.58 by sysadm, Sat Jan 3 10:21:10 2026 UTC Revision 1.59 by sysadm, Thu Jan 8 12:12:00 2026 UTC
# Line 1  Line 1 
1  <?php  <?php
2          //Definition of const          // Default config
3          $BBS_sys_uid                            =       600;          $BBS_sys_uid                            =       1;
4          $BBS_notice_sid                         =       39;          $BBS_notice_sid                         =       1;
5          $BBS_default_cid                        =       1;          $BBS_default_cid                        =       1;
6          $BBS_default_sid                        =       4;          $BBS_default_sid                        =       1;
7          $BBS_name                                       =       "枫林在线";          $BBS_name                                       =       "MyBBS";
8          $BBS_host_name                          =       "FengLin.info";          $BBS_host_name                          =       "localhost";
9          $BBS_copyright_duration         =       "2001-2026";          $BBS_copyright_duration         =       "2026";
10            $BBS_timezone                           =       'Asia/Shanghai';
11    
12            // Override by user config
13            include "../conf/site.conf.php";
14    
15          $BBS_max_user_per_email         =       3;          $BBS_max_user_per_email         =       3;
16    
# Line 121  Line 125 
125          $PHP_bin                                        =       "php";          $PHP_bin                                        =       "php";
126    
127          // Keep this consistent with $DB_session_timezone in db_open.conf.php          // Keep this consistent with $DB_session_timezone in db_open.conf.php
         $BBS_timezone                           =       'Asia/Shanghai';  
128          $BBS_runtime_tz                         =       new DateTimeZone($BBS_timezone);          $BBS_runtime_tz                         =       new DateTimeZone($BBS_timezone);
129    
130          // Assume DateTime fields retrieved from DB are in $BBS_runtime_tz timezone          // Assume DateTime fields retrieved from DB are in $BBS_runtime_tz timezone


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

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