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 ``` 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"]);