[TYPO3-core] Improved page tree (and lots of other fixes)

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Sep 10 16:14:59 CEST 2007


Martin Kutschker wrote: on 10.09.2007 10:50:

>> Martin Kutschker wrote:
>>> Dmitry Dulepov [typo3] schrieb:
>>>> So by  default it will be disabled for old and enabled for new
>>>> installations.
>>>
>>> Sadly such a scheme doesn't work, because of the sub-optimal way
>>> defaults are set. You don't know if the installation is new, or the
>>> config variable simple was never set.
>>
>> Are you sure? If it is new, than compat_version will be 4.2. If it is
>> an upgrade, it will be 4.1.2 and you will be asked if you want to
>> enable that feature.
> 
> I think that does only wotk for TS, but not for values in localconf.php.
> 
> We cannot add a switch into conig_default.php as it is loaded before
> localconf.php. And we cannot add a script that runs after localconf.php
> and has some isset checks because of the empty values set in
> conig_default.php.

Then we should write the compat-version somewhere else and load that
right at the start, before even config_default.php. I would agree that
it makes sense to change those defaults based on compat-version.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list