소스 검색

fleat: update timezone

igb 1 개월 전
부모
커밋
14aae7db3a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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");