[FEATURE] Enable automatic file import for extensions 27/23427/3
authorSusanne Moog <typo3@susannemoog.de>
Wed, 28 Aug 2013 15:14:41 +0000 (17:14 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 29 Aug 2013 12:01:49 +0000 (14:01 +0200)
commit24b143a70bc7e114c059e996b5c12b4c899856fc
treea7f88dc0f1afa92c7ecdca1344f0b3ae2581e052
parent20a919d236e0b64cfb1914d28517a3fd4b32e197
[FEATURE] Enable automatic file import for extensions

As preparation for the new distribution (introduction package ...)
handling extensions should be able to provide initial file imports.
These are then imported to fileadmin/<extensionname>
upon installing the extension.

The files have to be located in <extension>/Initialisation/Files/*.

The files are imported only once (even if you reinstall the extension),
execution state is saved via the core registry.

Resolves: #51466
Releases: 6.2
Change-Id: Icbf63227aa8bbb9fcfb0335bfa5ae92b549a94ba
Reviewed-on: https://review.typo3.org/23427
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php