/** * Bootstrap the given application. * * @param \Illuminate\Contracts\Foundation\Application $app * @return void */ public function bootstrap(Application $app) { //Detect the domain $app->detectDomain(); //Overrides the storage path if the domain staorge path exists $app->useStoragePath($app->domainStoragePath()); }