Project

General

Profile

Bug #41728 ยป pagegen.diff

mpk , 2012-10-15 22:56

View differences:

typo3/sysext/frontend/Classes/Page/PageGenerator.php
$space = !empty($GLOBALS['TSFE']->config['config']['sword_standAlone']) ? '[[:space:]]' : '';
foreach ($GLOBALS['TSFE']->sWordList as $val) {
if (strlen(trim($val)) > 0) {
$GLOBALS['TSFE']->sWordRegEx .= $space . quotemeta($val) . $space . '|';
$GLOBALS['TSFE']->sWordRegEx .= $space . str_replace('/', '\/',quotemeta($val)) . $space . '|';
}
}
$GLOBALS['TSFE']->sWordRegEx = preg_replace('/\\|$/', '', $GLOBALS['TSFE']->sWordRegEx);
    (1-1/1)