From 46248604af16423f1426d76eb56dcde3f442d729 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Wed, 17 May 2023 09:09:22 +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 05950e52f..a02074676 100644 --- a/crmeb/crmeb/utils/Rsa.php +++ b/crmeb/crmeb/utils/Rsa.php @@ -44,7 +44,7 @@ class Rsa */ public function __construct(string $publicKey = 'cert_public_password.key', string $privateKey = 'cert_private_password.key') { - $this->basePath = runtime_path(); + $this->basePath = app()->getRootPath(); if ($publicKey) { $this->publicKey = $this->basePath . $publicKey; }