liaofei hace 2 años
padre
commit
9931498adf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      crmeb/crmeb/utils/Rsa.php

+ 1 - 1
crmeb/crmeb/utils/Rsa.php

@@ -79,7 +79,7 @@ class Rsa
     {
     {
 
 
         $publicKey = $privateKey = '';
         $publicKey = $privateKey = '';
-        $dir = runtime_path() . 'conf';
+        $dir = app()->getRootPath() . 'runtime/conf';
         $conf = 'openssl.cnf';
         $conf = 'openssl.cnf';
         if (!is_dir($dir)) {
         if (!is_dir($dir)) {
             mkdir($dir, 0700);
             mkdir($dir, 0700);