-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Description
Symfony version(s) affected: 4.4.14 / 5.1.6
Description
With 4.4.14 / 5.1.6 symfony generate a new file in the src called .preload.php it was introduced by #38063. To allow a general configuration for hosters to preload a file. As I think its a great feature, but sadly in some setups preload is not possible, this is for example currently the state for sulu. That there still a .preload.php is generated currently its missleading devs thinking we are now supporting it, so it would be great to have an option to disable this generation.
How to reproduce
bin/console cache:clear # generate `src/preload.php`Possible Solution
Add a container parameter to disable this behaviour, or make the path to the preload file configurable. Instead of a container parameter a $_SERVER or $_ENV var could be used.
niconoe-, iquito, wouterj and Eloar