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

[BUGFIX] Automatically create the assets and cache directories #146

Merged
merged 1 commit into from
Nov 1, 2021
Merged

[BUGFIX] Automatically create the assets and cache directories #146

merged 1 commit into from
Nov 1, 2021

Conversation

oliverklee
Copy link
Contributor

TYPO3 10LTS does not automatically create the directories set as
createDirs in the ext_emconf.php. So to make sure files can
be written to these directories (which fixes a crash in the frontend),
the directories need to be checked and created before writing to them.

TYPO3 10LTS does not automatically create the directories set as
`createDirs` in the `ext_emconf.php`. So to make sure files can
be written to these directories (which fixes a crash in the frontend),
the directories need to be checked and created before writing to them.
@hannesbochmann
Copy link
Member

@oliverklee Thx for the pull request. Could you please optimize one little thing and change Environment::getPublicPath().'typo3temp/mkforms' to Environment::getProjectPath().'var/cache/code/mkforms' when you are at it?

@oliverklee
Copy link
Contributor Author

@hannesbochmann I'd prefer to have that change in a separate PR. Then we'll have the bug fix and the behavior change clearly separated. (We'll then also need to think about the consequences as the assets need to be in the public path so they can be accessed by the browser.) Would that be okay with you?

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.

None yet

2 participants