[TYPO3-core] RFC: #7265: Submodules of Web module can't work with mod.php and the _DISPATCH system
Franz Holzinger
franz at fholzinger.com
Tue Dec 9 09:58:59 CET 2008
Hello Steffen,
> Attached is the complete v2-patch
>
> For more info how to use mod.php read here:
> http://lists.netfielders.de/pipermail/typo3-team-core/2007-March/007751.html
Good improvement.
typo3/template.php:
if (($temp_M = (string) t3lib_div::_GET('M'))
It is not good to make an assignement inside of an IF clause.
It would be fine to have a common variable $path to avoid duplicate code.
$this->scriptID = ereg_replace('^.*\/(sysext|ext)\/', 'ext/', $path);
typo3/alt_mod_frameset.php:
(strpos($script, '?') ? '&' : '?' )
I would like to see this or something similar in a t3lib_div- function.
It is needed with each extension which adds parameters. RealURL could
also interfere here!
- Franz
More information about the TYPO3-team-core
mailing list