Task #24551 » lowerCamelCase-getUrl-typo3-sysext-lowlevel.diff
typo3/sysext/lowlevel/config/index.php | ||
---|---|---|
$var = substr($line, 0, $length);
|
||
$changedLine = '$GLOBALS[\'' . substr($line, 1, $length - 1) . '\']' . substr($line, $length);
|
||
// insert line in extTables.php
|
||
$extTables = t3lib_div::getURL(PATH_typo3conf . TYPO3_extTableDef_script);
|
||
$extTables = t3lib_div::getUrl(PATH_typo3conf . TYPO3_extTableDef_script);
|
||
$extTables = '<?php' . preg_replace('/<\?php|\?>/is', '', $extTables) . $changedLine . LF . '?>';
|
||
$success = t3lib_div::writeFile(PATH_typo3conf . TYPO3_extTableDef_script, $extTables);
|
||
if ($success) {
|