Actions
Task #99634
closedReplace typoscript getEnv with $_ENV
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-01-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
As per https://github.com/vlucas/phpdotenv#putenv-and-getenv it's discouraged to use getenv instead of $_ENV due to not being threadsafe. Furthermore using $_ENV instead of getenv will avoid a bug(?) that currently happens with symfony/dotenv where getenv will not return the env variable.
This change aims to allow usage of env in typoscript when using symfony/dotenv
This issue was automatically created from https://github.com/TYPO3/typo3/pull/412
Actions