diff --git a/i18n/i18nTextCollector.php b/i18n/i18nTextCollector.php index 87a670ea2..353de3455 100644 --- a/i18n/i18nTextCollector.php +++ b/i18n/i18nTextCollector.php @@ -511,7 +511,7 @@ class i18nTextCollector_Writer_Php implements i18nTextCollector_Writer { // Create folder for lang files $langFolder = $path . '/lang'; if(!file_exists($langFolder)) { - Filesystem::makeFolder($langFolder, Config::inst()->get('Filesystem', 'folder_create_mask')); + Filesystem::makeFolder($langFolder); touch($langFolder . '/_manifest_exclude'); } @@ -591,7 +591,7 @@ class i18nTextCollector_Writer_RailsYaml implements i18nTextCollector_Writer { // Create folder for lang files $langFolder = $path . '/lang'; if(!file_exists($langFolder)) { - Filesystem::makeFolder($langFolder, Config::inst()->get('Filesystem', 'folder_create_mask')); + Filesystem::makeFolder($langFolder); touch($langFolder . '/_manifest_exclude'); }