From ef8be14215098723978a96dc7030186e82653d8b Mon Sep 17 00:00:00 2001 From: xianfei21 Date: Fri, 6 Nov 2020 12:12:56 +0800 Subject: [PATCH 1/2] Signed-off-by: xianfei21 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4427212..9c0931c 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,6 @@ composer require 21xianfei/tiny-php #### 安装 Demo 应用项目(含框架) ``` -git clone https://gitee.com/21xianfei/tiny-php.git -git clone https://github.com/feige2018/tiny-php.git +git clone https://gitee.com/21xianfei/tinyphp.git +git clone https://github.com/feige2018/tinyphp.git ``` From 9c41ebe8399a78653f6329a1ae3ef2f597027a7c Mon Sep 17 00:00:00 2001 From: xianfei21 Date: Thu, 7 Jan 2021 14:12:15 +0800 Subject: [PATCH 2/2] Signed-off-by: xianfei21 --- helper/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/functions.php b/helper/functions.php index b223f33..ebe7774 100644 --- a/helper/functions.php +++ b/helper/functions.php @@ -128,7 +128,7 @@ function filter_err(\Throwable $e, $isTrace = false) $errInfo["uri"] = Request::instance()->uri(); if ($isTrace) { $getTrace = $e->getTrace(); - $getTrace = array_splice($getTrace, 0, 5); + $getTrace = array_splice($getTrace, 0, 3); foreach ($getTrace as $i => $trace) { if (isset($trace["file"])) { $trace["file"] = str_replace($root, "", $trace["file"]);