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);