mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 06:50:51 +00:00
修改
This commit is contained in:
parent
9931498adf
commit
46248604af
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user