Feature #25345
closedRefactoring of localconf.php
0%
Description
localconf.php is a big flat configuration file. We have a marker to separate "static" part (at the beginning) and dynamically generated/managed (through install tool / EM) at the end.
However in some situations it would be useful to be able to have static configuration at the end too.
Moreover, adding or removing extensions is a pain because it forces us (or the underlying tool) to manipulate a comma-separated list of extension keys. This could be replaced by some clever array instead.
Idea from Steffen Kamper would be to have static methods (or singleton configuration class methods) provided to manipulate the configuration. E.g.,
$GLOBALS['T3_CONFIG']->loadExtension('realurl');
$GLOBALS['T3_CONFIG']->getDatabaseConfiguration()->setUsername('db-username');
Speed and caching should be taken into account to prevent slowing down the whole instantiation process.
(issue imported from #M17972)
Updated by Xavier Perseguers over 13 years ago
- Target version deleted (
4.6.0-beta1)
Updated by Georg Ringer almost 10 years ago
- Status changed from New to Resolved
in the meantime LocalConfiguration is a nice array.