[TYPO3-english] Overload ext_autoload value
Christian Kuhn
lolli at schwarzbu.ch
Mon Aug 22 22:25:38 CEST 2011
Hey,
On 08/22/2011 01:14 PM, Jigal van Hemert wrote:
> 'apache_solr_httptransport_abstract' => $extensionPath .
> 'lib/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php',
This only works because the extension itself is named 'solr': autoloader
in <= 4.5 takes the second '_' separated part and looks for an extension
name like this ... in this case 'solr', which is magically found then.
So, this does not work anymore if you try to overwrite this in an
extension called 'solrfoo'.
BTW: This was explaned already not long ago, either here, or in the dev
list with some more words ... just search for autoload ;)
BTW: This was changed in 4.6, the autoloader find-logic is more smart
and relaxed at this point (read: you can register all named classes there).
Regards
Christian
More information about the TYPO3-english
mailing list