[TYPO3-dev] Ugly hack in alt_main.php

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Fri Jan 12 10:39:01 CET 2007


Tapio Markula schrieb:
> 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!

Possibly, but I guess that 99% of the list subscribers have no idea what 
you are talking about.

Masi




More information about the TYPO3-dev mailing list