php error log refactor

This commit is contained in:
mercury
2023-04-23 13:02:20 +04:00
parent 5683100b07
commit b0d321061d
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
<?php
error_reporting(E_ERROR);
// ini_set('display_errors', 'On');
ini_set("log_errors", 1);
ini_set("error_log", '/logs/php_error');
// ini_set("log_errors", 1);
// ini_set("error_log", '/logs/php_error');
$debug = [
'raw' => file_get_contents('php://input'),