fix error_reporting

This commit is contained in:
Zichao Lin 2023-11-25 20:48:00 +08:00
parent ba05834015
commit ef1ca1c48c
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB
2 changed files with 2 additions and 0 deletions

@ -1,4 +1,5 @@
<?php <?php
error_reporting(0);
//设置json格式头部 //设置json格式头部
header('Content-type: application/json'); header('Content-type: application/json');
//载入数据库文件 //载入数据库文件

@ -1,4 +1,5 @@
<?php <?php
error_reporting(0);
ob_start(); ob_start();
session_start(); session_start();
require("data.php"); require("data.php");