@ -383,9 +383,13 @@ class Flight {
require $base.'/'.$file;
}
else {
$loaders = spl_autoload_functions();
$last = array_pop($loaders);
if (is_array($last) && $last[0] == __CLASS__ && $last[1] == __FUNCTION__) {
throw new Exception('Unable to load file: '.$base.'/'.$file);
/**
* Custom error handler.