Project

General

Profile

Bug #18484 ยป 7910_parse_url.diff

Administrator Admin, 2008-03-23 13:10

View differences:

typo3/template.php (working copy)
function makeShortcutIcon($gvList,$setList,$modName,$motherModName="") {
$backPath=$this->backPath;
$storeUrl=$this->makeShortcutUrl($gvList,$setList);
$pathInfo = parse_url(t3lib_div::getIndpEnv('REQUEST_URI'));
$pathInfo = parse_url(urlencode(t3lib_div::getIndpEnv('REQUEST_URI')));
// Add the module identifier automatically if typo3/mod.php is used:
if (ereg('typo3/mod\.php$', $pathInfo['path']) && isset($GLOBALS['TBE_MODULES']['_PATHS'][$modName])) {
    (1-1/1)