Feature #61066
closedConfiguration per application context
Added by Mathias Brodala over 10 years ago. Updated over 4 years ago.
0%
Description
TYPO3 Flow allows for different configuration per application context (even subcontexts). The same should be supported in CMS, too.
Updated by Markus Klein over 10 years ago
Ehm, we already have application context in 6.2.
You can query them in TS too.
What do you mean with this ticket?
Updated by Mathias Brodala over 10 years ago
Markus Klein wrote:
Ehm, we already have application context in 6.2.
You can query them in TS too.What do you mean with this ticket?
I mean being able to have an unlimited amount of configuration files like this:
typo3conf/ProductionConfiguration.php
typo3conf/DevelopmentConfiguration.php
typo3conf/Development/VirtualMachineConfiguration.php
typo3conf/LocalConfiguration.php
If I am in Production
context, only the ProductionConfiguration.php is loaded.
If I am in Development
, only the DevelopmentConfiguration.php is loaded.
If I am in Development/VirtualMachine
, DevelopmentConfiguration.php and VirtualMachineConfiguration.php are loaded.
The LocalConfiguration.php is loaded in any case.
For a formal description see TYPO3 Flow Documentation: Configuration
I think I don't have to mention the vast advantages of a configuration setup like this. ;-)
Updated by Markus Klein over 10 years ago
At least you can easily emulate this already with the AdditionalConfiguration.php file.
Just implement a simple include there.
Updated by Mathias Brodala over 10 years ago
Markus Klein wrote:
At least you can easily emulate this already with the AdditionalConfiguration.php file.
Just implement a simple include there.
Yes, I know and I already use this file for various purposes. But this issue is about supporting this kind of configuration setup out of the box and properly just like TYPO3 Flow.
Updated by Mathias Brodala about 10 years ago
Markus Klein wrote:
At least you can easily emulate this already with the AdditionalConfiguration.php file.
Just implement a simple include there.
As can be seen in #57289 it is actually not possible to fully override the LocalConfiguration.php using the AdditionalConfiguration.php in any case.
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from 7.0 to 7.1 (Cleanup)
Updated by Mathias Brodala over 9 years ago
For the reference there is at least the environment extension which implements something like this.
Updated by Markus Klein over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 8 LTS
Updated by Riccardo De Contardi over 7 years ago
- Target version changed from 8 LTS to 9.0
Updated by Susanne Moog about 7 years ago
- Category changed from Miscellaneous to System/Bootstrap/Configuration
Updated by Mathias Brodala over 4 years ago
- Status changed from New to Rejected
This can be implemented via AdditionalConfiguration.php
and custom config/.env loading.