[TYPO3-core] RFC #11105: Feature: Add a method to register an Extbase plugin

Martin Kutschker masi-no at spam-typo3.org
Mon May 18 11:43:25 CEST 2009


Steffen Kamper schrieb:
> Hi Ernesto,
> 
> Ernesto Baschny [cron IT] schrieb:
>>
>> I wouldn't do that. The ext manager shouldn't allow an extension that
>> "depends" on extbase to be installed if extbase isn't installed.
>>
> 
> may be it's not clear. having the register function in extbase you call
> the method direct in localconf with
> Tx_Extbase_Utility_Plugin::registerPlugin
> 
> What will happen if extbase isn't installed, i expect a fatal error.

a) This could only happen if you ignored the dependency check
b) you can use t3lib_extMgm::isLoaded from ext_localconf.php
c) using PHP files for configuration is asking for trouble ;)

Masi


More information about the TYPO3-team-core mailing list