[TYPO3-mvc] Howto create ext_autoload.php files?
Jochen Rau
jochen.rau at typoplanet.de
Fri Jul 31 15:21:12 CEST 2009
Hi.
> Seems OK now. Can you explain to all of us how you created this file?
I was a little bit busy today. So I wasn't able to respond earlier ;-)
In the Dispatcher::dispatch() method you find
// FIXME Remove the next lines. These are only there to generate the
ext_autoload.php file
//$extutil = new Tx_Extbase_Utility_Extension;
//$extutil->createAutoloadRegistryForExtension('extbase',
t3lib_extMgm::extPath('extbase'));
//$extutil->createAutoloadRegistryForExtension('fluid',
t3lib_extMgm::extPath('fluid'));
If I need a new ext_autoload.php file, I uncomment the lines, reload the
Blog page, and comment them out again. Not the recommended way at 4.3
release time, but it works for now ;-).
Just add
$extutil->createAutoloadRegistryForExtension('my_extension_key',
t3lib_extMgm::extPath('my_extension_key'));
and run it.
Regards
Jochen
--
Every nit picked is a bug fixed
More information about the TYPO3-project-typo3v4mvc
mailing list