Development

#486 (constants.php and custom directory structure not working)

You must first sign up to be able to contribute.

Ticket #486 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

constants.php and custom directory structure not working

Reported by: anonymous Assigned to:
Priority: major Milestone:
Component: Version:
Keywords: Cc:
Qualification:

Description

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).

So:

  • The doc must be updated
  • The framework must be patched

For this to work fine.

Change History

05/03/06 10:44:20 changed by francois

  • status changed from new to closed.
  • resolution set to fixed.

in r1307 and r1308