We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0393fe commit 1ce86f6Copy full SHA for 1ce86f6
CONTRIBUTING.md
@@ -22,6 +22,7 @@
22
This will enable strict mode and throw an exception rather than returning `false`.
23
- `UnityHTTPD`'s user-facing error functionality (ex: `badRequest`) should only be called from `webroot/**/*.php`.
24
`resources/**/*.php` should throw exceptions instead.
25
+- all pages under `webroot/admin/` must check for `$USER->isAdmin()` and call `UnityHTTPD::forbidden()` if not admin.
26
27
This repository will automatically check PRs for linting compliance.
28
0 commit comments