-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(admin): Fix and improve base path in AssetsBuilder
The `AssetsBuilder` now accepts a base path from its constructor. Replaced relative base path assumption (`dirname(__DIR__, 7)`) with either: 1. Explicit base path (see constructor parameter), or 2. Implicit base path (the current working directory). By default, the base path is explicitly set to the `AppConfig`'s base path. This ensures relative asset paths are loaded according a more reliable base path.
- Loading branch information
Showing
2 changed files
with
60 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters