Browse Source

Merge pull request '隐藏错误' (#34) from wpd_errorreport into master

Reviewed-on: #34
pull/35/head
pengda 1 month ago
parent
commit
6c9e584aed
  1. 5
      index.php

5
index.php

@ -1,11 +1,6 @@
<?php <?php
include_once(dirname(__FILE__)."/library/publicBase.php"); include_once(dirname(__FILE__)."/library/publicBase.php");
ini_set('display_errors', 1); // 显示错误
ini_set('display_startup_errors', 1); // 显示 PHP 启动时的错误
error_reporting(E_ERROR); // 记录所有级别的错误
class run extends publicBase { class run extends publicBase {
public $control_name; public $control_name;
public $control_func; public $control_func;

Loading…
Cancel
Save