Browse Source

fixed mkdir mode

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
48f3e6e5a9
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/Generator/LuGenerator.php

+ 2
- 1
src/Generator/LuGenerator.php View File

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

Loading…
Cancel
Save