[Request] Global Feature Toggle System
HDVinnie opened this issue · comments
HDVinnie commented
- This way sites can turn on and off features easily from staff dashboard via database settings like say the random media block, or requests system.
- The foundation needs to be build first. Then separately start porting features over.
Code example:
if (Feature('torrent-request-feature')->enabled()) {
...
} else {
abort('507', 'This feature is disabled.');
}
@feature('torrent-request-feature')
...
@else
Feature Disabled.
@endfeature
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.