[TYPO3-dev] Ugly hack in alt_main.php

Thomas Hempel thomas at work.de
Fri Jan 12 10:45:15 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!
To be honest. I can't see the point. :-/

Greets,
Thomas


-- 
typo3-unleashed.net




More information about the TYPO3-dev mailing list