[TYPO3-core] RFC: #10175: Duplicated values in localconf.php (typo3conf)
Stefano Kowalke
blueduck at gmx.net
Fri Jan 30 14:29:20 CET 2009
Hi,
this is an SVN patch request
Branches: 4.1, 4.2, trunk
Type: Bugfix
BT reference: http://bugs.typo3.org/view.php?id=10175
Problem: (issue was reported by Erik Svendsen, so i took his description
in parts into it)
If you doing some upgrades (from 4.1.x to 4.2.x, from 4.2.x to 4.3.dev)
the installer replace the version number with the newer one.
This would be fine when the array ['SYS']['compat_version'] in
localconf.php comes with single quotes, but in some old versions this
array contains double quotes (["SYS"]["compat_version"]).
Installer not reconize the presence of the array an put a new one at the
end of the file.
Now you have this array 2nd times in the file - one with double and one
single quotes.
Solution:
Make the installer tolerance for finding arrays with double quotes and
replace the double quotes with single quotes.
Cheers
Stefano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1_class.t3lib_install.php.diff
Type: text/x-diff
Size: 1371 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090130/a5491eed/attachment.diff
More information about the TYPO3-team-core
mailing list