From 9931498adf9873fa6582543cad865ad92e136de8 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Wed, 17 May 2023 09:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/crmeb/utils/Rsa.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/crmeb/utils/Rsa.php b/crmeb/crmeb/utils/Rsa.php index a169bf26e..05950e52f 100644 --- a/crmeb/crmeb/utils/Rsa.php +++ b/crmeb/crmeb/utils/Rsa.php @@ -79,7 +79,7 @@ class Rsa { $publicKey = $privateKey = ''; - $dir = runtime_path() . 'conf'; + $dir = app()->getRootPath() . 'runtime/conf'; $conf = 'openssl.cnf'; if (!is_dir($dir)) { mkdir($dir, 0700);