Skip to content

Commit

Permalink
fix(logging) remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
rohrig committed Dec 14, 2022
1 parent 42151b5 commit 96ed5c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DomainRouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ public function registerDomainRoutes()
continue;
}


$dirs = array_diff(scandir(base_path('app/Domains/' . $domain)), array('.', '..'));
$routesDirExists = in_array('routes', $dirs);
if (!$routesDirExists) {
Log::info("$domain Domain missing routes directory. Can't register routes");
continue;
}

Expand Down

0 comments on commit 96ed5c8

Please sign in to comment.