-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support disabling panels with the names in the docs.
The docs hide the fact that the SQLPanel and TemplatesPanel live in a panel module. The DISABLE_PANELS config option previously required that panel module to be included in the path in order for the panel to be disabled. This change will check the panel's path against that config set and then check it again with the .panel. replaced as just . against the config set. Doing this replace blindly will support moving any other panel from it's own module into a package like the SQLPanel and TemplatesPanel. Fixes #687.
- Loading branch information
1 parent
136eb4a
commit 30e56bf
Showing
3 changed files
with
27 additions
and
1 deletion.
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
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