public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
Remove the setting of umask from the xml parsing code.


git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk@3079 
3d254a34-79dc-0310-9e5f-be208747d8a0
calguy1000 (author)
Sun Jul 16 18:47:59 -0700 2006
commit  4ed7a7e58427a9500050dddd6ef4a808185acae6
tree    3d0cee1e68637f812a5c87a3337d0ab428077751
parent  aab7bc9937655216a914975a5a009b25eeddc888
...
84
85
86
87
88
89
90
91
92
93
94
95
96
...
84
85
86
 
 
 
 
 
 
 
87
88
89
0
@@ -84,13 +84,6 @@ class ModuleOperations
0
    return false;
0
    }
0
 
0
- // set a umask to try to make permissions wide open
0
- // this will hopefully (in most cases) allow users who install
0
- // modules via XML to still delete them via ftp
0
- // however, the 0111 makes all files world writable
0
- // which I don't really like.
0
- umask(0022);
0
-
0
   // start parsing xml
0
   $parser = xml_parser_create();
0
   $ret = xml_parse_into_struct( $parser, $xml, $val, $xt );

Comments

    No one has commented yet.