[TYPO3-dev] Ugly hack in alt_main.php
Tapio Markula
tapio.markula at atwebteam.com
Fri Jan 12 10:25:19 CET 2007
Hi
Typo3 4.x has bad solution for start module
$module = preg_replace('/[^[:alnum:]_]/','',t3lib_div::_GET('module'));
if (!$module && $BE_USER->uc['startInTaskCenter']) {
$module = 'user_task';
}
That really bad because this can't configure user level or users needs
annoying way
to set get params. This way should *not* do new options.
This is just an ugly hack!
Core developer should shame creating this kind of ugly hack!
This should have proper configuration through TS config for users/user
groups
(as I have done).
More information about the TYPO3-dev
mailing list