liaofei 2 年之前
父節點
當前提交
46248604af
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      crmeb/crmeb/utils/Rsa.php

+ 1 - 1
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;
         }