function _find_autoloader
8.x-3.x bootstrap.php | _find_autoloader($dir) |
Source scripts/bootstrap.php (line 16)
function _find_autoloader($dir) {
if (file_exists($autoloadFile = $dir . '/autoload.php') || file_exists($autoloadFile = $dir . '/vendor/autoload.php')) {
return include_once($autoloadFile);
}
else if (empty($dir) || $dir === DIRECTORY_SEPARATOR) {
return FALSE;
}
return _find_autoloader(dirname($dir));
}