From eb2fd14f07ceaf89ed2193c62ea5083fbd81ab66 Mon Sep 17 00:00:00 2001 From: wuyanwen Date: Sat, 14 Dec 2019 17:54:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=87=E4=BB=BD=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/CatchAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/catcher/CatchAdmin.php b/extend/catcher/CatchAdmin.php index 6094dd7..878a492 100644 --- a/extend/catcher/CatchAdmin.php +++ b/extend/catcher/CatchAdmin.php @@ -58,7 +58,7 @@ class CatchAdmin */ public static function backupDirectory(): string { - $directory = self::cacheDirectory(); + $directory = self::cacheDirectory() . 'backup' .DIRECTORY_SEPARATOR; if (!is_dir($directory) && !mkdir($directory, 0777, true) && !is_dir($directory)) { throw new \RuntimeException(sprintf('Directory "%s" was not created', $directory));