Fixed Filesystem::mkdir() expects one parameter

This commit is contained in:
Gregory Smirnov 2015-05-22 11:11:53 +02:00
parent 0ba3ada15b
commit bfa57af37e

View File

@ -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');
}