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