[TYPO3-ect] Beta-Branch of lib/div
Elmar Hinz
elmar07 at googlemail.com
Wed Aug 15 14:12:21 CEST 2007
> Assumptions:
> spl_autoload_register implements a stack-queue[1].
> ext_localconf.php is always included[2].
>
> Result:
> In the ext_localconf.php of lib-extension I add the following:
> <code>
> require_once(t3lib_extMgm::extPath('div') . 'class.tx_div.php');
> require_once(t3lib_extMgm::extPath('lib') . 'class.tx_lib_t3Loader.php');
> require_once(t3lib_extMgm::extPath('lib') .
> 'class.tx_lib_pearLoader.php');
>
> spl_autoload_register(array('tx_lib_t3Loader', 'load'));
> spl_autoload_register(array('tx_lib_pearLoader', 'load'));
> </code>
Hi Jörg,
it looks straight ahead. If any conflicts occur, they can easily be solved
this way by adding some configuration options. Good research.
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list