liaofei 2 năm trước cách đây
mục cha
commit
46248604af
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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')
     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) {
         if ($publicKey) {
             $this->publicKey = $this->basePath . $publicKey;
             $this->publicKey = $this->basePath . $publicKey;
         }
         }