*/ foreach (scandir(env('app_path')) as $dir) { if ($dir[0] !== '.') { $filename = realpath(env('app_path') . "{$dir}/init.php"); $filename && file_exists($filename) && include($filename); } } return [];