[FLOW3-general] Deactivate packages in certain contexts
Bastian Waidelich
bastian at typo3.org
Mon Oct 29 10:39:17 CET 2012
Karsten Dambekalns wrote:
Hi Karsten,
> This generally makes sense, absolutely. We have to think about what
> possible uses cases might follow. One would be a different version of a
> library in a certain context - change packagePath and you're set - as
> discussed looong ago.
Right. Also we need to check if disabled packages are *really* not
accessible (does the autoloader load classes from disabled packages?).
But those issues are the same as we currently have with "globally"
disabled packages.
> I see another option in addition to your solution of adding the context
> inside PackageStates.php - and that would be to handle it like other
> settings - per context-directory files. Those could either be used
> instead of the global one or merged like Settings.yaml (the former is
> technically easier!).
Do you mean something like a Package.yaml?
--
Bastian Waidelich
TYPO3 Core Team Member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the FLOW3-general
mailing list