huwhois 4 年 前
コミット
eb451ca106
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      application/Index.php

+ 1 - 1
application/Index.php

@ -59,7 +59,7 @@ class Index extends View
59 59
        
60 60
        $dir_name = DATA_PATH . $pathinfo['dirname'];
61 61
62
        if (!is_dir($dir_name) && !mkdir($dir_name, '0755', true)) {
62
        if (!is_dir($dir_name) && !mkdir($dir_name, '0777', true)) {
63 63
            die(json_encode(['code'=>2, 'msg'=>'目录创建失败']));
64 64
        }
65 65