Changeset 15890
- Timestamp:
- 01/18/12 00:14:39 (4 months ago)
- File:
-
- 1 edited
-
trunk/inc/classes/BxDolTemplate.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/classes/BxDolTemplate.php
r15795 r15890 6 6 */ 7 7 defined('BX_DOL') or die('hack attempt'); 8 9 ini_set('pcre.backtrack_limit', 1000000); 8 10 9 11 define('BX_DOL_TEMPLATE_DEFAULT_CODE', 'uni'); … … 1317 1319 $aKeyWrappers = $this->_getKeyWrappers($mixedKeyWrapperHtml); 1318 1320 1319 for($i = 0; $i < count($aKeys); $i++) { 1320 if(strpos($aKeys[$i], 'bx_repeat:') === 0) { 1321 $iCountKeys = count($aKeys); 1322 for ($i = 0; $i < $iCountKeys; $i++) { 1323 if (strncmp($aKeys[$i], 'bx_repeat:', 10) === 0) { 1321 1324 $sKey = "'<" . $aKeys[$i] . ">(.*)<\/" . $aKeys[$i] . ">'s"; 1322 1325 … … 1333 1336 } 1334 1337 } 1335 else if (strpos($aKeys[$i], 'bx_if:') === 0) {1338 else if (strncmp($aKeys[$i], 'bx_if:', 6) === 0) { 1336 1339 $sKey = "'<" . $aKeys[$i] . ">(.*)<\/" . $aKeys[$i] . ">'s"; 1337 1340
Note: See TracChangeset
for help on using the changeset viewer.