浏览代码

fixed mkdir mode

tags/0.1.0
Robin Thoni 10 年前
父节点
当前提交
48f3e6e5a9
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/Generator/LuGenerator.php

+ 2
- 1
src/Generator/LuGenerator.php 查看文件

35
                 "namespace" => 'App\Http\Business',
35
                 "namespace" => 'App\Http\Business',
36
                 "folder" => '../app/Http/Business'
36
                 "folder" => '../app/Http/Business'
37
             ),
37
             ),
38
-        "mode" => 0755
38
+        "mode" => 0775
39
     );
39
     );
40
     /**
40
     /**
41
      * @return array
41
      * @return array
273
 
273
 
274
         $mode = $this->_config["mode"];
274
         $mode = $this->_config["mode"];
275
 
275
 
276
+        umask(0000);
276
         $this->mkdir($dbo_dir, $mode);
277
         $this->mkdir($dbo_dir, $mode);
277
         $this->mkdir($model_dir, $mode);
278
         $this->mkdir($model_dir, $mode);
278
         $this->mkdir($sp_dir, $mode);
279
         $this->mkdir($sp_dir, $mode);

正在加载...
取消
保存