Project

General

Profile

Bug #18312 ยป 0007677.patch

Administrator Admin, 2008-02-26 15:45

View differences:

t3lib/class.t3lib_tstemplate.php (Arbeitskopie)
if ($this->tt_track) $GLOBALS['TT']->pull();
// Searching for possible unsubstituted constants left (only for information)
if (strstr($all,'{$')) {
$findConst = explode('{$',$all);
$theConstList=Array();
next($findConst);
while(list(,$constVal)=each($findConst)) {
if (strstr($all, '{$')) {
$theConstList = array();
$findConst = explode('{$', $all);
array_shift($findConst);
foreach ($findConst as $constVal) {
$constLen=t3lib_div::intInRange(strcspn($constVal,'}'),0,50);
$theConstList[]='{$'.substr($constVal,0,$constLen+1);
}
    (1-1/1)