mageplus/mageplus — pull request #43 by Flyingmana (2012-05-26 16:04:06+00:00)
Title: if autoloader does not find file, allow next autoloader to try

put an

function a ($c) {
if($c=='hahahaha'){
class hahahaha {} // Usually "include 'path/to/file.php';"
}
}
spl_autoload_register('a');

anywhere in the code (after mageplus autoloader was aktivated)

this autoloader gets never executed, because of the include which is always tried in mageplus autoloader.

This patch makes it possible, to use the typical autoload feature of autoloader chaining.