mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #4219 from gregsmirnov/pulls/3.1/fixed-filesystem-mkdir-expects-one-parameter
Fixed Filesystem::mkdir() expects one parameter
This commit is contained in:
commit
cc6a2ef757
@ -511,7 +511,7 @@ class i18nTextCollector_Writer_Php implements i18nTextCollector_Writer {
|
|||||||
// Create folder for lang files
|
// Create folder for lang files
|
||||||
$langFolder = $path . '/lang';
|
$langFolder = $path . '/lang';
|
||||||
if(!file_exists($langFolder)) {
|
if(!file_exists($langFolder)) {
|
||||||
Filesystem::makeFolder($langFolder, Config::inst()->get('Filesystem', 'folder_create_mask'));
|
Filesystem::makeFolder($langFolder);
|
||||||
touch($langFolder . '/_manifest_exclude');
|
touch($langFolder . '/_manifest_exclude');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -591,7 +591,7 @@ class i18nTextCollector_Writer_RailsYaml implements i18nTextCollector_Writer {
|
|||||||
// Create folder for lang files
|
// Create folder for lang files
|
||||||
$langFolder = $path . '/lang';
|
$langFolder = $path . '/lang';
|
||||||
if(!file_exists($langFolder)) {
|
if(!file_exists($langFolder)) {
|
||||||
Filesystem::makeFolder($langFolder, Config::inst()->get('Filesystem', 'folder_create_mask'));
|
Filesystem::makeFolder($langFolder);
|
||||||
touch($langFolder . '/_manifest_exclude');
|
touch($langFolder . '/_manifest_exclude');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user