Fixing mkdir permissions (using $CFG->directorypermissions)
Merge pull request #2 from josenorberto/master

Fixing mkdir permissions (using $CFG->directorypermissions)