Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better support for xml to xlf converting #5

Merged
merged 4 commits into from
Nov 7, 2016
Merged

better support for xml to xlf converting #5

merged 4 commits into from
Nov 7, 2016

Conversation

achimfritz
Copy link
Contributor

s. #4

Copy link
Contributor

@ervaude ervaude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the comments, +1

}
$parent = $splFileInfo->getPathInfo();
if($parent->isDir() === false) {
if (@mkdir($parent->getPathname(), 0777, true) === false) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use GeneralUtility::mkdir_deep() to apply TYPO3s Permission Settings

throw new Exception('cannot create directory ' . $parent->getPathname(), 1476776272);
}
}
if (@copy($xmlPath, $splFileInfo->getPathname()) === false) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GeneralUtility::copyDirectory()

Copy link
Contributor

@ervaude ervaude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@achimfritz achimfritz merged commit 2729e08 into master Nov 7, 2016
@achimfritz achimfritz deleted the issue-4 branch January 31, 2018 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants