Project

General

Profile

Bug #19574 » typo3_includeJSAbsRefPrefix.patch

Administrator Admin, 2008-11-10 22:38

View differences:

typo3_src-4.2.2/typo3/sysext/cms/tslib/class.tslib_pagegen.php 2008-11-10 22:36:25.000000000 +0100
if (!$type) $type = 'text/javascript';
$GLOBALS['TSFE']->content.='
<script src="'.htmlspecialchars($ss).'" type="'.htmlspecialchars($type).'"></script>';
<script src="'.htmlspecialchars($GLOBALS['TSFE']->absRefPrefix . $ss).'" type="'.htmlspecialchars($type).'"></script>';
}
}
}
(2-2/7)