The file structure book chapter mentions the contants.php as the file to add and complete in order to customize the tree structure of a symfony project.
There is probably a confusion: The 'constants.php' is to be modified in the framework ($data_dir/config/constants.php) and only if one wants all his projects to adopt a custom file structure.
For a project-limited custom file structure, the configuration is to be added to the config.php of the project 'config/' dir. BUT, this does not work, since the call to this file in the application 'config.php' occurs too late (line 60 instead of line 41, see config.php source).
- The doc must be updated
- The framework must be patched
For this to work fine.