mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed Filesystem::mkdir() expects one parameter
This commit is contained in:
parent
0ba3ada15b
commit
bfa57af37e
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user