[TYPO3-core] RFC: startup module in alt_main

Karsten Dambekalns karsten at typo3.org
Wed Nov 23 11:11:44 CET 2005


Hi.

On Tuesday 22 November 2005 18:29, Christian Jul Jensen wrote:
> This patch adds GET-parameters "module" and "modParams" to alt_main.php.
> Thus allowing direct acces to any module in the backend from outside link.

+1, but could you please drop the ereg and use preg instead?
 $module = preg_replace('/[^[:alnum:]_]/','',t3lib_div::_GET('module'));

Karsten
-- 
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051123/4f767978/attachment.pgp 


More information about the TYPO3-team-core mailing list