[TYPO3-dev] Cosmetics with localconf.php

Steffen Kamper info at sk-typo3.de
Thu Apr 29 22:41:39 CEST 2010


Hi,

i discussed this issue with Christian Kuhn and Jeff Segars and we are 
positive about it, but i like to hear your opinion.

Install tool doesn't care about cosmetics in that file, it also adds 
comments to it like

// Updated by TYPO3 Install Tool ...
EM does it too:
// Updated by TYPO3 Extension Manager ...

When ever you edit this file manually, and 100% of devs i know do that, 
these lines are without a real effort and mostly disturb.

So i would like to get rid of them.

Further i would like to get the file sorted in sections like

// DB params
$typo_db_username = ..
...

// System
$TYPO3_CONF_VARS['SYS']...
...

// Graphics
$TYPO3_CONF_VARS['GFX']...
...

// BE
$TYPO3_CONF_VARS['BE']...
...

// FE
$TYPO3_CONF_VARS['FE']...
...

// Extensions
$TYPO3_CONF_VARS['EXT']
...

This would make it more easy to change / read the file, port it to 
another server, use it with svn etc.

May be you'd say this is a feature, but as it doesn't change any 
functionality i would declare it as clean-up.

Your opinion or suggestion?

vg Steffen




More information about the TYPO3-dev mailing list