Browse Source

fleat: update timezone

igb 1 month ago
parent
commit
14aae7db3a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      conn.php

+ 1 - 0
conn.php

@@ -3,6 +3,7 @@
 session_start();
 header('Content-Type: text/html; charset=utf-8');
 header('Cache-Control: no-cache');
+date_default_timezone_set('Asia/Shanghai'); 
 
 // 数据库连接
 $conn = new mysqli("127.0.0.1", "crm", "Qweasdzxc", "crm_new");