完成打包和最小化格式化

This commit is contained in:
2022-11-19 10:49:15 +08:00
parent de5697afa9
commit f74d3a7ad9
4 changed files with 59 additions and 16 deletions

View File

@@ -74,7 +74,6 @@ if (!function_exists('xdebug')) {
function xdebug($data, $type = 'xdebug', $suffix = null, $force = false, $file = null)
{
// 调试
__DIR__;
!is_dir(runtime_path() . 'xdebug/') && mkdir(runtime_path() . 'xdebug/');
if (is_null($file)) {
$file = is_null($suffix) ? runtime_path() . 'xdebug/' . date('Ymd') . '.txt' : runtime_path() . 'xdebug/' . date('Ymd') . "_{$suffix}" . '.txt';