Project

General

Profile

Bug #15006 » 1525_multiple_includeLib_45.diff

Administrator Admin, 2011-02-26 02:44

View differences:

typo3_src-4.5/t3lib/class.t3lib_extmgm.php 2011-02-26 02:35:00.000000000 +0100
* @return void
*/
public static function addPItoST43($key, $classFile = '', $prefix = '', $type = 'list_type', $cached = 0) {
global $TYPO3_LOADED_EXT;
global $TYPO3_LOADED_EXT, $TYPO3_CONF_VARS;
$classFile = $classFile ? $classFile : 'pi/class.tx_' . str_replace('_', '', $key) . $prefix . '.php';
$cN = self::getCN($key);
......
$addLine = 'lib.stdheader.10.' . $key . $prefix . ' = < plugin.' . $cN . $prefix;
break;
case 'includeLib':
$addLine = 'page.1000 = < plugin.' . $cN . $prefix;
$pageObjKey = 1000;
while(!$addLine) {
if(!eregi("page.".$pageObjKey, $TYPO3_CONF_VARS['FE']['defaultTypoScript_setup.']['cssstyledcontent/static/'])) {
$addLine = 'page.'.$pageObjKey.' = < plugin.'.$cN.$prefix;
}
$pageObjKey++;
}
break;
default:
$addLine = '';
(3-3/3)